56 lines
1.2 KiB
NASM
56 lines
1.2 KiB
NASM
; ==================================================
|
|
; MSX BASIC for Orion-128 computer
|
|
;
|
|
; Main file
|
|
; Disassembled by Romychs @ 2026-10-08
|
|
; ==================================================
|
|
|
|
DEVICE NOSLOT64K
|
|
SLDOPT COMMENT WPMEM, ASSERTION, LOGPOINT
|
|
|
|
INCLUDE "equates.inc"
|
|
INCLUDE "monitor.inc"
|
|
INCLUDE "ordos.inc"
|
|
INCLUDE "ioports.inc"
|
|
INCLUDE "resident.inc"
|
|
|
|
OUTPUT mzbas.bru
|
|
|
|
ORG 0x0000
|
|
|
|
; --------------------------------------------------
|
|
; .BRU file header
|
|
; --------------------------------------------------
|
|
DB 'MZBAS$ '
|
|
DB 0x00, 0x00, 0x00, 0x83 , 0x00, 0x49, 0x53, 0xD4
|
|
DB 0xC3, 0xA2, 0x24, 0x00 , 0x4D, 0x12, 0x98, 0x98
|
|
DB 0xC3, 0xC6, 0x24, 0x00 , 0x00, 0x00, 0x00, 0x00
|
|
DB 0xC3, 0xC9, 0x24, 0x00 , 0x00, 0x00, 0x00, 0x00
|
|
|
|
; --------------------------------------------------
|
|
; Entry point
|
|
; --------------------------------------------------
|
|
START:
|
|
|
|
INCLUDE "orion.asm"
|
|
|
|
INCLUDE "math.asm"
|
|
|
|
INCLUDE "dispatch.asm"
|
|
|
|
INCLUDE "errors.asm"
|
|
|
|
INCLUDE "main1.asm"
|
|
|
|
INCLUDE "graphics.asm"
|
|
|
|
INCLUDE "main2.asm"
|
|
|
|
INCLUDE "deviceio.asm"
|
|
|
|
INCLUDE "main3.asm"
|
|
|
|
INCLUDE "data.asm"
|
|
|
|
; --------------------------------------------------
|