Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
TITLE (ROM BIOS FOR IBM PERSONAL COMPUTER) | |
.MODEL COMPACT | |
OPTION M510 | |
;------------------- | |
;EQUATES | |
;------------------- | |
PORT_A EQU 60H ;8255 PORT A ADDR | |
PORT_B EQU 61H ;8255 PORT B ADDR | |
PORT_C EQU 62H ;8255 PORT C ADDR |
heap_start .equ 0x9000 ; Starting address of heap | |
heap_size .equ 0x0100 ; Number of bytes available in heap | |
.org 0 | |
jp main | |
.org 0x100 | |
main: | |
ld HL, 0x8100 |
SECTION code_clib | |
PUBLIC disz80 | |
PUBLIC _disz80 | |
EXTERN fputc_cons | |
; This code is been found in a ZX Spectrum tool called UTILITY3 v1.3 |