Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request: Compatibility with Ben's "new" BIOS #2

Open
greenonline opened this issue Feb 27, 2024 · 1 comment
Open

Enhancement request: Compatibility with Ben's "new" BIOS #2

greenonline opened this issue Feb 27, 2024 · 1 comment

Comments

@greenonline
Copy link

greenonline commented Feb 27, 2024

I don't know how feasible this is, or how much work it would be (nor even if there would be any advantage to do so), but are there any plans to either integrate G-Pascal with the BIOS that Ben has recently developed for the board, or to provide compatibility with?

For more info about the BIOS, please see:

In particular, using the ISCNTC, MONRDKEY and MONCOUT routines? Or even the LOAD and SAVE routines (once they have been fleshed out)?


FWIW, I discovered this repo from a comment on My modified Ben Eater 6502 Computer PCB!, not that that board bears any relevance to this issue/enhancement, whatsoever.

@nickgammon
Copy link
Owner

I don't have any immediate plans for this. I note he is using an ACIA chip for serial comms, whereas I managed to do it with the existing hardware and some carefully timed loops. In any case you need a suitable converter to actually plug into a PC.

It probably wouldn't be a big deal to modify my code to optionally interface with his suggested serial hardware, after all he posted code showing how to use it.

My own G-Pascal code has its own BIOS (if you want to call it that). It has an editor, lets you examine memory, peek and poke data into memory, and then there is the inbuilt assembler and tiny Pascal interpreter. Basically if you use my code you don't need to keep pulling that EEPROM chip out and reprogram it externally, which I think is a big plus.

I tried to contact Ben over a year ago to let him know it existed, but got no response. He has done an absolutely fantastic job of describing his 6502 board, and lots of other things, so he is probably very busy.

I think I bought one of the ACIA chips (6551) but then I thought there was no big advantage to going to the trouble of installing it. You are limited, in any case, to the speed with which the CPU can retrieve incoming data, whether it goes through that chip or you get it directly from the port (using interrupts).

My code has got a very lukewarm response, maybe I don't advertise it enough. I'm happy with what it does, the on-board assembler, editor, SPI support, I2C support, debugging support, serial interface, tiny Pascal, binary to decimal conversion, etc.

If there's a strong demand, I'll take a look at interfacing with the way Ben set up his ACIA hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants