Project skeleton

From NeoGeo Development Wiki
Jump to navigation Jump to search

For AES and MVS

Minimal 68K code header:

	org $0064
	dc.l VBLANK	;IRQ handler

	org $0100       ; Recognition 1
	dc.b "NEO-GEO",$00

	org $0108
	dc.w $1234	;NGH

	org $0122
	jmp USER	;entry

	org $0114
	dc.w $0100	;eye-catcher flag

	org $0182
	dc.l Code	;Recognition 2
Code:
	dc.l $76004A6D,$0A146600,$003C206D,$0A043E2D
	dc.l $0A0813C0,$00300001,$32100C01,$00FF671A
	dc.l $30280002,$B02D0ACE,$66103028,$0004B02D
	dc.l $0ACF6606,$B22D0AD0,$67085088,$51CFFFD4
	dc.l $36074E75,$206D0A04,$3E2D0A08,$3210E049
	dc.l $0C0100FF,$671A3010,$B02D0ACE,$66123028
	dc.l $0002E048,$B02D0ACF,$6606B22D,$0AD06708
	dc.l $588851CF,$FFD83607
	dc.w $4e75

Only the 2 cartridge recognition codes and Vblank handlers are needed to start on the AES.

For CD

    org     $100
    dc.b    "NEO-GEO",$02           ;CDDA flag
    dc.w    $1234                   ;NGH
    dc.l    $00100000               ;P ROM size
    dc.l    $0010F000               ;debug DIPs pointer
    dc.w    $01                     ;size of DIP data
    dc.b    $00                     ;let the BIOS show the logo
    dc.b    $1B                     ;first tile of the logo is $1B00

    org     $122
    jmp     USER

    org     $13A
    dc.w    $0000                   ;Z80 RAM address for CDDA commands

IPL.TXT, ABS, BIB and CPY files.