Skip to content

Instantly share code, notes, and snippets.

View mariomac's full-sized avatar

Mario Macias mariomac

View GitHub Profile
@mariomac
mariomac / cartridge.asm
Created November 26, 2021 10:29 — forked from theNestruo/cartridge.asm
Simplified MSXlib cartridge header, entry point and initialization
; =============================================================================
; MSX cartridge (ROM) header, entry point and initialization
; =============================================================================
IF (CFG_INIT_ROM_SIZE < 32)
org $4000, $4000 + (CFG_INIT_ROM_SIZE * $0400) - 1
ELSE
org $4000, $bfff
ENDIF ; IF (CFG_INIT_ROM_SIZE < 32)