Use cbm_load() to load overlays on CBMs.

This commit is contained in:
Oliver Schmidt
2013-05-29 01:12:24 +02:00
parent 17776739e2
commit 7572834ebf
5 changed files with 161 additions and 73 deletions

47
libsrc/cbm/overlayaddr.s Normal file
View File

@@ -0,0 +1,47 @@
;
; Oliver Schmidt, 2013-05-28
;
; This module supplies the load addresses that are expected by Commodore
; machines in the first two bytes of overlay disk files.
;
; The following symbol is used by linker config to force the module
; to get included into the output file
.export __OVERLAYADDR__: absolute = 1
.segment "OVL1ADDR"
.addr *+2
.segment "OVL2ADDR"
.addr *+2
.segment "OVL3ADDR"
.addr *+2
.segment "OVL4ADDR"
.addr *+2
.segment "OVL5ADDR"
.addr *+2
.segment "OVL6ADDR"
.addr *+2
.segment "OVL7ADDR"
.addr *+2
.segment "OVL8ADDR"
.addr *+2
.segment "OVL9ADDR"
.addr *+2