Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
a05beb9ceThis file is pinned to the selected release. Download the original to open it in your design tool.
;=
;;=========================================================================================
;; Since the current memory layout has ROM in 0x0000 .. 0x7FFF and RAM in
;; 0x8000 .. 0xFFFF, we need some space for variables used by the monitor in the upper
;; RAM.
;;
;; These memory locations are defined in the following and have to be located directly
;; below the IO-page which itself starts on 0xFF00. So the address after the .ORG
;; directive is crucial and has to be adapted manually since the assembler is (as of
;; now) unable to perform address arithmetic!
;;=========================================================================================
;
.ORG 0xFEEB
VAR$STACK_START .BLOCK 0x0001 ; Here comes the stack...
;
;******************************************************************************************
;* VGA control block
;******************************************************************************************
;
_VGA$X .BLOCK 0x0001 ; Current X coordinate
_VGA$Y .BLOCK 0x0001 ; Current Y coordinate
;
;******************************************************************************************
;* SD Card / FAT32 support
;******************************************************************************************
;
_SD$DEVICEHANDLE .BLOCK FAT32$DEV_STRUCT_SIZE ; sysdef.asm: FAT32$DEV_STRUCT_SIZE