[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [N8VEM-S100:5510] CP/M acting weird

Hi guys,

Ok, I'm trying to transfer the standard files to my virtual disk on the SD Card (8080 CPU board).

I am using Rich Cini's suggested method of getting the file into memory at 0x100 (via my monitor's Xmodem routine).
Then warm booting CP/M and doing the SAVE x filename.ext command.

This works fine for files that are 32 blocks or smaller, but when I try a file that needs to save 40 blocks, the SAVE command corrupts my directory and virtual disk. 

I'm going to poke at it some more, but if anyone has any suggestions, I'd love to hear it.

PS. I have tried rewriting my firmware to use a stack in the High ram area, just following through on a hunch and previous problem about running out of stack space.  I have about 300 bytes of stack space available there, assuming CP/M does not change the stack pointer.  But, why should CP/M change the stack pointer? the BIOS cold and warm boot sets it according to the adapted Hardware.