BigDumbDinosaur wrote:
fachat wrote:
The plan is to have it in 4k.
But with all the other extensions I'm building into the ROM I may need to re-shuffle the memory map. I'll have a look what's most needed and maybe try to strip it.
How much ROM do you have? When I morphed my POC V1.1 unit into V1.2 (with four TIA-232 channels and SCSI), I shuffled the memory map to increase ROM space from 8 KB to 12 KB. That gave me more-than-ample room for the extra code needed to go with the hardware expansion, as well as to accommodate the monitor, to which I had added low-level SCSI command processing. I retained the V1.2 memory map for V1.3, the latter which has 64KB of extended RAM, for a usable total of 112KB RAM, 12KB ROM and 2KB I/O space.
I wrote Supermon 816 with a focus on functional capabilities, with footprint a secondary consideration. I suspect there are areas in the code that could be massaged to shrink the footprint, but I haven’t been motivated to undertake that process. The source code is thoroughly commented, so please feel free to do some massaging if it will help.
I have attached a version that doesn’t have the S-record loader, but is otherwise identical to the version linked in my earlier post. Removal of the loader shrinks the object code to 4,064 bytes.
Attachment:
supermon816c_no_srec.asm
I briefly looked at it - looks very nice.
I noticed some macros - which assembler does it need to build?
In the intro it says it's native mode - so if I normally run in emulation, I'll have to create a wrapper. Anything in particular to look at when exiting? Does it exit at a single location only ("X" command)?
Thanks
André
_________________
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content:
http://6502.org/users/andre/