Open stanleyruppert opened 1 week ago
Good catch, I'll put hi and lo and find out what's $A050. I'll get the update posted today if it passes a few test.
Okay I've pushed the changes. Not sure how you are using it. I've added an EXP (-D EXP) to rt68mx.inc but not really populated it yet. I'll probably set it up to Frederic Browns PT68-1 (SWTPC/MP-02 single board clone).
The rt68mx.asm and rrt68-mp02.asm have both been modified. I've added a LOWRAM (for the RT68MX OS RAM). And I've added the hi(TSKTBL) and lo(TSKTBL) code.
Super! I have a version running on my motorola board, M68MM01A. I have the editor and basic running using memory for IO instead of tape. Last bit is fixing the multi-task functions now that I have a RTC circuit. My source version is based on typing in the manual keeping the original source style with patches for the M68MM01A memory map and IO addresses, but I also like the reformatting you did as it matches your disassemblies, so I'm keeping our two trees in sync. One more typo in the FNDTSB function I forgot to mention previously is line :789 RT68mx.asm - you have LDAA 0,X, Manual shows this as LDX 0,X.
I have an M68MM01A also, haven't had a chance to play with it yet.
Thanks for the 'LDX 0,X', I'll update in a few minutes.
I've got to talk to some time about your VCF presentation. I'd like to do one for VCF East (I have a makespace there).
I haven't yet figured out what I can use to demo multiprocessing.
FYI - After relocating RT68 substantially to accommodate M68MM01A memory map - changing ROM base to $CC00 as well as scratch RAM location from $A000 to another location $9000, found RT68 multi-task function broke.
TSKTBL is defined in an ORG statement, but a hard coded reference remains elsewhere in code within
(FNDTSB function) tied to original location $A050. I missed this the first re-assembly after updating the defined ORG statements. Updating fixed the multi-task functionality.
See below: