|
|
|
@ -1144,7 +1144,10 @@ romcopy: |
|
|
|
cp bid_cur ; special value? |
|
|
|
jr nz,romcopy1 ; if not, continue |
|
|
|
ld a,(bid_ldr) ; else substitute |
|
|
|
jr romcopy2 ; and continue |
|
|
|
romcopy1: |
|
|
|
add a,BID_IMG0 ; add to start of image banks |
|
|
|
romcopy2: |
|
|
|
push af ; save source bank |
|
|
|
; |
|
|
|
ld e,a ; source bank to E |
|
|
|
@ -2695,8 +2698,11 @@ ra_ent .equ 12 |
|
|
|
; *_SIZ *_END and any code generated which does not include LAYOUT.INC is |
|
|
|
; synced. |
|
|
|
; |
|
|
|
; Note: The loadable ROM images are placed in ROM banks BID_IMG0 and |
|
|
|
; BID_IMG1. However, RomWBW supports a mechanism to load a complete |
|
|
|
; Note: The loadable ROM images are placed in ROM banks starting with |
|
|
|
; BID_IMG0. The bank numbers below are an offset from BID_IMG0 because |
|
|
|
; the actual bank id of BID_IMG0 varies per system. |
|
|
|
; |
|
|
|
; RomWBW supports a mechanism to load a complete |
|
|
|
; new system dynamically as a runnable application (see appboot |
|
|
|
; in hbios.asm). In this case, the contents of BID_IMG0 will |
|
|
|
; be pre-loaded into the currently executing ram bank thereby allowing |
|
|
|
@ -2705,12 +2711,12 @@ ra_ent .equ 12 |
|
|
|
; normally found in BID_IMG0. This special value will cause |
|
|
|
; the associated image to be loaded from the currently executing bank |
|
|
|
; which will be correct regardless of the load mode. Images in other |
|
|
|
; banks (BID_IMG1) will always be loaded directly from ROM. |
|
|
|
; image banks (BID_IMG1). |
|
|
|
; |
|
|
|
ra_tbl: |
|
|
|
; |
|
|
|
; Name Key Dsky Bank Src Dest Size Entry |
|
|
|
; --------- ------- ----- -------- ----- ------- ------- ---------- |
|
|
|
; --------- ------ ----- -------- ----- ------- ------- ---------- |
|
|
|
ra_ent(str_mon, 'M', KY_CL, MON_BNK, MON_IMGLOC, MON_LOC, MON_SIZ, MON_SERIAL) |
|
|
|
ra_entsiz .equ $ - ra_tbl |
|
|
|
#if (BIOS == BIOS_WBW) |
|
|
|
@ -2742,7 +2748,7 @@ ra_ent(str_blnk, 'E'+$80, $FF, EGG_BNK, EGG_IMGLOC, EGG_LOC, EGG_SIZ, EGG |
|
|
|
ra_tbl_app: |
|
|
|
; |
|
|
|
; Name Key Dsky Bank Src Dest Size Entry |
|
|
|
; --------- ------- ----- -------- ----- ------- ------- ---------- |
|
|
|
; --------- ------ ----- -------- ----- ------- ------- ---------- |
|
|
|
ra_ent(str_mon, 'M', KY_CL, bid_cur, MON_IMGLOC, MON_LOC, MON_SIZ, MON_SERIAL) |
|
|
|
ra_ent(str_zsys, 'Z', KY_FW, bid_cur, ZSYS_IMGLOC, CPM_LOC, CPM_SIZ, CPM_ENT) |
|
|
|
#if (DSKYENABLE) |
|
|
|
|