Files
BAS2.4/basic.asm
T
2026-10-23 22:26:12 +03:00

50 lines
1.4 KiB
NASM

; ==================================================
; Orion BASIC v2.4 for Orion-128 computer
;
; Main file
; Disassembled by Romychs @ 2026-10-19
; ==================================================
DEVICE NOSLOT64K
SLDOPT COMMENT WPMEM, ASSERTION, LOGPOINT
INCLUDE "equates.inc"
INCLUDE "monitor.inc"
INCLUDE "ordos.inc"
INCLUDE "ioports.inc"
; INCLUDE "resident.inc"
; --------------------------------------------------
; .BRU file header
; --------------------------------------------------
OUTPUT "bas-24.bru"
DB 'BAS-24$ ' ; file name
DW 0x0000 ; address to place code in RAM
DW 0x2630 ; file size - size of header (16b)
DB 0x00 ; flags (bit 7 - protected from delete if set)
DB 0x65, 0x73, 0x6B ; padding the header to a length of 16 bytes, typically values 0xff
OUTEND
; --------------------------------------------------
; Entry point
; --------------------------------------------------
OUTPUT "bas-24.bru",a
ORG 0x0000
START:
; INCLUDE "main.asm"
OUTEND
; INCLUDE "data.asm"
; --------------------------------------------------
; Include this for test offsets of uninitialized variables
; INCLUDE "chk_offs.inc"