RIO Memory Layout (2010-10-06)
| 3K Monitor ROM Entrypoints | Address (Hex) | ||||||
|---|---|---|---|---|---|---|---|
| Label | Type | Description | MCZ | ZDS | P8000 | UDOS 1526 | |
| FLOPPY | Code | Entrypoint FLOPPY driver | 0bfd |
0bfd |
0bfd |
0bfd |
|
| PCON | Code | Entrypoint Console (PCON) driver | 0be8 |
0bee |
0bee |
0bee |
|
| PDEBUG (DEBUG) |
Code | Entrypoint ROM resident debugger | 0bfa |
0bfa |
0bfa |
0bfa |
|
| System Variables (1K System RAM) | Address (Hex) | ||||||
|---|---|---|---|---|---|---|---|
| Label | Type | Description | MCZ | ZDS | P8000 | UDOS 1526 | |
| ADRFLG | Word | Address Flag ZDS systems only: Offset for memory mapping between monitor mode und user mode. Standard value 1000H |
% |
0fd8 |
% |
% |
|
| BOOTAD | Buff | Boot Address, 128 Bytes Buffer for loading the first sector (boot record) from disk at OS-Boot |
1000 |
0c00 |
0c00 |
n.a. |
|
| BRKFLG (DEBFL) |
Byte |
|
Break Flag Flagbyte to control breakpoints and debugger calls Hinweis: Bei UDOS-1526 als DEBFL dokumentiert. |
13cd |
0fc4 |
0fc4 |
0fc4 |
| BRKRTN | Addr |
|
Break Return Address The contents of this location specifies the address of a user-specific breakpoint handler. Acts in conjunction with BRKFLG. |
13ce |
0fc5 |
0fc5 |
n.a. |
| CHRDEL | Byte | Character Delete Character Console input: This character in an ASCII input stream deletes the last entered input character from the input buffer. Initialized with BACKSPACE ( 08H).Note: In older ROM monitors initialized with '@' ( 40H)
|
13cc |
0fc3 |
0fc3 |
0fc3 |
|
| CONIBF (INBU) |
Buff | Console Input Buffer, 255 Bytes Buffer used by the ROM monitor for command line input Hinweis: Bei UDOS-1526 als INBU dokumentiert. Hinweis: Bei P8000-UDOS verkürzt auf 218 Byte wegen Floppy-Zellen. Hinweis: Bei meinem Eigenbau verkürzt auf 208 Bytes wegen Floppy-Zellen. |
1189 |
0d8a |
0d8a |
0d8a |
|
| CONIVC | Buff |
|
Console Input Request Vector, 11 Bytes I/O request vector for command line input over the PCON driver. The PCON driver never needs the supplemental parameter information field, therefore 11Bytes for the vector is enough. |
1293 |
0ece |
0ece |
n.a. |
| CONOBF (OUTBU) |
Buff | Console Output Buffer, 133 Bytes Buffer used by the ROM monitor for text line output Hinweis: Bei UDOS-1526 als OUTBU dokumentiert. |
1103 |
0d04 |
0d04 |
0d04 |
|
| CONOVC | Buff |
|
Console Output Request Vector, 11 Bytes I/O request vector for text line output over the PCON driver. The PCON driver never needs the supplemental parameter information field, therefore 11Bytes for the vector is enough. |
1288 |
0ec3 |
0ec3 |
n.a. |
| DATE | Buff |
|
System Date, 6 Bytes System date in YYMMDD format as an ASCII string (e.g. "951023"). Setting and showing the date is done with the utility DATE. Note: Used by the RIO-OS for time stamps in file operations.. |
13ab |
0fa2 |
0fa2 |
0fa2 |
| DSKVC | Buff | Disk Vector, 13 Bytess I/O request vector for disk operations (booting or GET/SAVE operations) of the ROM monitor |
129e |
0e89 |
0e89 |
n.a. |
|
| ERCODE | Byte | Error Code RIO programs can put here the return code from their call for later analysis. |
13bd |
0fb4 |
0fb4 |
n.a. |
|
| EXTRET | Addr |
|
External Return Address (Debugger Return Address) Return address to the calling program if the ROM debugger was called as a subroutine. Acts in conjunction with BRKFLG. |
13be |
0fb5 |
0fb5 |
0fb5 |
| INPTR (INBUAD) |
Addr | Input Buffer Pointer Console input: Pointer to an input buffer (CONIBF or the RIO-OS input buffer) for command-line analysis. Hinweis: Bei UDOS-1526 als INBUAD dokumentiert. |
13c4 |
0fbb |
0fbb |
0fbb |
|
| LFCNT | Byte | Linefeed Count Console output: Number of linefeed characters ( 0aH)
the console driver sends to the terminal after each carriage return (0dH).
Initialized with 1.Note: The (ROM) PCON driver ignores this value and sends always one (1) line feed. The (OS) CON driver will take account of this value. |
13c9 |
0fc0 |
0fc0 |
n.a. |
|
| LINDEL | Byte | Line Delete Character Console input: This character in an ASCII input stream purges the complete input buffer. Initialized with DEL ( 7fH)Note: In older ROM monitors initialized with '!' ( 21H)
|
13cb |
0fc2 |
0fc2 |
n.a. |
|
| NCRCE | Word |
|
Number of CRC Errors Counter of data transfer errors (CRC errors C6) of the physical disk driver FLOPPY. The current number of errors can be shown with the utility ERRORS. |
1393 |
0ee5 |
0ee5 |
0ee5 |
| NMIDSP (NMIRET) |
Addr | NMI Dispatch The contents of this location specifies the address to branch to on Non-Maskable Interrupt (NMI). The BREAK button at Zilogs® development systems generates a NMI. Hinweis: Bei UDOS-1526 als NMIRET dokumentiert. |
% |
0eee |
% |
0eee |
|
| NSECTE | Word |
|
Number of Sector Errors Counter of sector address errors (C4 errors) of the physical disk driver FLOPPY. The current number of errors can be shown with the utility ERRORS. |
1395 |
0ee7 |
0ee7 |
0ee7 |
| NTRKE | Word |
|
Number of Track Errors Counter of track address errors (C5 errors) of the physical disk driver FLOPPY. The current number of errors can be shown with the utility ERRORS. |
1391 |
0ee9 |
0ee9 |
0ee9 |
| NULLCT | Byte | Null-Count Console output: Number of null characters (00H) after each carriage return and the line feed(s) to adapt slower output devices (TTY). Initialized with 0 |
13c8 |
0fbf |
0fbf |
n.a. |
|
| OUTPTR | Addr | Output Buffer Pointer Console output: Pointer to an output buffer (e.g. CONOBF) |
13c6 |
0fbd |
0fbd |
n.a. |
|
| PROMPT | Byte | Prompt Character Console input: The console driver sends this character before each text line input request to prompt the user for input. Initialized with '>' |
13ca |
0fc1 |
0fc1 |
n.a. |
|
| RSTDSP (RSTRET) |
Addr | RST 38 Dispatch The contents of this location specifies the address to branch to when a RST 38H instruction is executed Hinweis: Bei UDOS-1526 als RSTRET dokumentiert. |
% |
0eec |
% |
0eec |
|
| STACK | Buff | Stack space, 256 Byte downward Initial value for stackpointer, decrements on every PUSH, CALL and so on. |
1100 |
0d00 |
0d00 |
0d00 |
|
| TIME | Buff | System Time, 6 Bytes System time in HHMMSS format as an ASCII string (e.g. "091823"). Note: Requires additional real-time clock with driver and utilities. |
13b1 |
0fa8 |
n.a. |
n.a. |
|
| RIO-OS System Addresses | Address (Hex) | ||||||
|---|---|---|---|---|---|---|---|
| Label | Type | Description | MCZ | ZDS | P8000 | UDOS 1526 | |
| ENTRY | Buff | OS Entry and Input Buffer, 256 Bytes Input buffer of the RIO-OS for command line input. This address is the start address (entry point) of the RIO-Executive OS. There located initialization routines are run only once. After the initalization the space is used as an input buffer. |
17de |
13de |
n.a. |
n.a. |
|
| MEMMGR | Code | Memory Manager Call address for memory reservation and release (Allocate, Deallocate) |
1409 |
1009 |
1009 |
1009 |
|
| SYSCAL | Code | System I/O Handler Call address for logical I/O operations |
1403 |
1003 |
1003 |
1003 |
|
| Meaning of the column "Type" | |
|---|---|
| Addr | 16bit pointer to another element in the memory (address) |
| Buff | Range of consecutive bytes (buffer) |
| Byte | 8bit variable |
| Code | Call address of a program or system routine |
| Word | 16bit variable |
n.a. |
in the column "Address" means that I don't have an information about this memory location on this platform. It doesn't mean that this location does not exist there. |
% |
in the column "Address" means that this memory location doesn't exist on this platform. |