Discussion about this post

User's avatar
None's avatar

Actually, the first 256 bytes contains code for the operating system. For instance, in MSX-DOS (a variant of MS-DOS for Z-80 machines), the address 05H is used to call the BDOS (Basic Disk Operating System). For instance: loading the address at register DE, the code 09H on the register C and calling the address 05H, either by CALL 05H or RST 05H would print the string contained in (DE), terminated by a "$". Since MSX could swap memory pages at each 16Kb, the first page was static (containing the BDOS and the COM code), the last page was fixed as well because it contains DOS RAM stuff, such as settings, stack, etc., that would give you 2 pages you could swap to use unlimited (well, at most 4Mb) RAM. CP/M was the same, AFAIK.

Expand full comment
2 more comments...

No posts