2023-10-25 04:40:08 +00:00
|
|
|
; DMGTRIS
|
|
|
|
; Copyright (C) 2023 - Randy Thiemann <randy.thiemann@gmail.com>
|
|
|
|
|
|
|
|
; This program is free software: you can redistribute it and/or modify
|
|
|
|
; it under the terms of the GNU General Public License as published by
|
|
|
|
; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
; (at your option) any later version.
|
|
|
|
|
|
|
|
; This program is distributed in the hope that it will be useful,
|
|
|
|
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
; GNU General Public License for more details.
|
|
|
|
|
|
|
|
; You should have received a copy of the GNU General Public License
|
|
|
|
; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
IF !DEF(BANKID_ASM)
|
|
|
|
DEF BANKID_ASM EQU 1
|
|
|
|
|
|
|
|
|
|
|
|
SECTION "Bank ID 0", ROM0[$0]
|
2023-10-25 05:21:48 +00:00
|
|
|
REPT 7
|
|
|
|
rst $00
|
|
|
|
ENDR
|
2023-10-25 04:40:08 +00:00
|
|
|
db $00
|
|
|
|
|
|
|
|
SECTION "Bank ID 1", ROMX[$4000], BANK[1]
|
2023-10-25 05:21:48 +00:00
|
|
|
REPT 7
|
|
|
|
rst $00
|
|
|
|
ENDR
|
2023-10-25 04:40:08 +00:00
|
|
|
db $01
|
|
|
|
|
|
|
|
SECTION "Bank ID 2", ROMX[$4000], BANK[2]
|
2023-10-25 05:21:48 +00:00
|
|
|
REPT 7
|
|
|
|
rst $00
|
|
|
|
ENDR
|
2023-10-25 04:40:08 +00:00
|
|
|
db $02
|
|
|
|
|
|
|
|
|
|
|
|
ENDC
|