tms9995
Experienced Member
If you're rebuilding the code, what do you make of this? VDPDSR module, page 10, last line in the 'TEXT MODE' block - JHE FTMODE. Shouldn't that be a JL REMCUR jump (to the following block) followed by a BLWP @FTMODE since FTMODE comprises a WP pointer and PC pointer? [I'm working on porting the code across to my TM990 9900-based system so have been looking quite closely at it.]
Stuart.
(tms9995 - also sent you a PM)
Don't see a PM...
The code in the pdf listing is what's running in the Cortex. I'm not sure what you point out is right or wrong without looking at it in detail although, if it was a JL REMCUR, it would be pointless as the next instruction executed would be the one located at REMCUR whether it made the jump or not. The sources I have reconstructed are based on some files I found on an old disk a while back. They were not up to date and I had to create some from scratch! I modified them to match the PDF. After assembling each module, I then do a binary compare of the linker output with an image of the original ROM to confirm the source produces the correct code.
I also have recovered a bunch of MDEX disk images. These include QBASIC, SPL, Pascal and Forth compilers and also the full-screen text editor Window. I will put all this together with the latest emulator when I can.
I plan on producing a couple of utilities that provide for disk formatting and disk image creation on the Cortex. These would be down-loaded from a PC to the Cortex via RS232 comms.
I'm doing my best...