Examples of Current Processor-Specific BIOS Calling Sequences
Entry Point | Offset (hex) | Parameters |
---|---|---|
CONSOLEREAD | 00 | return data byte in Reg C |
CONSOLEWRITE | 03 | write data byte in Reg C |
CONSOLEINIT | 06 | UIR pointer at (SP)+2,(SP)+3 |
PRINTERREAD | 09 | return data byte in Reg C |
PRINTERWRITE | 0C | write data byte in Reg C |
PRINTERINIT | 0F | UIR pointer at (SP)+2,(SP)+3 |
DISKREAD | 12 |
block no. at (SP)+2,(SP)+3 byte count at (SP)+4,(SP)+5 data area addr. at (SP)+6,(SP)+7 drive no. at (SP)+8 CONTROL byte at (SP)+9 |
DISKWRITE | 15 |
block no. at (SP)+2,(SP)+3 byte count at (SP)+4,(SP)+5 data area addr. at (SP)+6,(SP)+7 drive no. at (SP)+8 CONTROL byte at (SP)+9 |
DISKINIT | 18 | drive no. in Reg C UIR pointer at (SP)+2,(SP)+3 |
REMOTEREAD | 1B | return data byte in Reg C |
REMOTEWRITE | 1E | write data byte in Reg C |
REMOTEINIT | 21 | UIR pointer at (SP)+2,(SP)+3 |
Entry Point | Offset (hex) | Parameters |
---|---|---|
CONSOLEREAD | 00 | return data byte in Reg A |
CONSOLEWRITE | 03 | write data byte in Reg A |
CONSOLEINIT | 06 | UIR pointer at (S)+3,(S)+4 |
PRINTERREAD | 09 | return data byte in Reg A |
PRINTERWRITE | 0C | write data byte in Reg A |
PRINTERINIT | 0F | UIR pointer at (S)+3,(S)+4 |
DISKREAD | 12 |
block no. at (S)+3,(S)+4 byte count at (S)+5,(S)+6 data area addr. at (S)+7,(S)+8 drive no. at (S)+9,(S)+A CONTROL word at (S)+B,(S)+C |
DISKWRITE | 15 |
block no. at (S)+3,(S)+4 byte count at (S)+5,(S)+6 data area addr. at (S)+7,(S)+8 drive no. at (S)+9,(S)+A CONTROL word at (S)+B,(S)+C |
DISKINIT | 18 |
drive no. in Reg A UIR pointer at (S)+3,(S)+4 |
REMOTEREAD | 1B | return data byte in Reg A. |
REMOTEWRITE | 1E | write data byte in Reg A. |
REMOTEINIT | 21 | UIR pointer at (S)+3,(S)+4 |
Entry Point | Offset (hex) | Parameters |
---|---|---|
CONSOLEREAD | 00 | return data byte in Reg A |
CONSOLEWRITE | 03 | write data byte in Reg A |
CONSOLEINIT | 06 | UIR pointer at (SP)+3,(SP)+4 |
PRINTERREAD | 09 | return data byte in Reg A |
PRINTERWRITE | 0C | write data byte in Reg A |
PRINTERINIT | 0F | UIR pointer at (SP)+3,(SP)+4 |
DISKREAD | 12 |
block no. at (SP)+3,(SP)+4 byte count at (SP)+5,(SP)+6 data area addr. at (SP)+7,(SP)+9 drive no. at (SP)+9,(SP)+A CONTROL word at (SP)+B,(SP)+C |
DISKWRITE | 13 |
block no. at (SP)+3,(SP)+4 byte count at (SP)+5,(SP)+6 data area addr. at (SP)+7,(SP)+9 drive no. at (SP)+9,(SP)+A CONTROL word at (SP)+B,(SP)+C |
DISKINIT | 18 |
drive no. in Reg A UIR pointer at (SP)+3,(SP)+4 |
REMOTEREAD | 1B | return data byte in Reg A |
REMOTEWRITE | 1E | write data byte in Reg A |
REMOTEINIT | 21 | UIR pointer at (SP)+3,(SP)+4 |