Dan Moos wrote:
Ok, I'm doing the address decoding. I plan to keep it simple, so it's either Garth's single 74HC00 example with 16k SRAM, 32k ROM, or the next example with 32k RAM, 16kR ROM.
I'm leaning towards the larger ROM version for two reasons. It can be done on one logic chip, and I think I'll like having lots of room for stuff in ROM.
You can cram a lot into a 16KB ROM. My POC V1 unit only has 8KB of ROM, yet has a BIOS supporting two TIA-232 channels, timekeeping and SCSI I/O, along with a full-featured machine language monitor. There are about 100 unused bytes left in the ROM.
Quote:
Here is what my minimum ROM should hold in my current "dream" for this thing:
A simple monitor
Why a "simple" one? You might as well have a full-featured monitor, with code assembly and disassembly, memory search, copy and fill functions, etc. A monitor's value is in how easy it makes it to debug software. The more the monitor can do the easier it will be for you to develop and debug code.
Quote:
A decent assembler
Are you talking an absolute assembler or a symbolic macro assembler? Big difference between the two.
Quote:
A version of BASIC good enough for my young son to enjoy
EhBasic would be a good choice. It was developed by the late Lee Davison for use with 6502 systems. There is plenty of documentation and discussion on it around here.
Quote:
A disassembler (maybe, this one isn't a deal breaker)
Your M/L monitor would have that.
Quote:
A single screen where one can select amongst these options. Not really an OS, just a single menu.
Can that be easily done in 16k of ROM?
I don't see why not, although it will ultimately depend on how much "creeping featurism" occurs as you develop your code.
Quote:
Will the typical stuff one runs on such a machine work in 16k of RAM?
Yes, but why limit yourself in such a way?