User:Andlabs

42DF4 initial screen mode pointer

hellfire
0001122E 67 6A 30 3C 00 05 22 3C  00 06 65 20 34 3C 03 F2  gj0<.."<..e 4<.= 0001123E  4E B9 00 00 60 6C 4A 79  00 FF 00 0A 67 00 06 16  N¦..`lJy. ..g... 0001124E  30 3C 00 5D 22 3C 00 03  58 00 34 3C 01 B4 4E B9  0<.]"<..X.4<.¦N¦ 0001125E 00 00 60 6C 30 3C 02 2D  22 3C 00 06 1F 80 34 3C  ..`l0<.-"<...Ç4< 0001126E  04 06 4E B9 00 00 60 6C  30 3C 01 34 22 3C 00 06  ..N¦..`l0<.4"<.. 0001127E 82 A0 34 3C 06 33 4E B9  00 00 60 6C 30 3C 00 10  éá4<.3N¦..`l0<..

00012BAE 67 76 30 3C 00 E1 22 3C  00 03 E0 00 34 3C 04 06  gv0<.ß"<..a.4<.. 00012BBE  4E B9 00 00 5F 84 70 02  22 3C 00 03 69 A0 34 3C  N¦.._äp."<..iá4< 00012BCE 03 F2 4E B9 00 00 5F 84  30 3C 24 06 32 3C 23 9A  .=N¦.._ä0<$.2<#Ü 00012BDE 74 0E 76 0E 4E B9 00 00  65 5C 23 FC 00 01 25 6C  t.v.N¦..e\#n..%l 00012BEE 00 FF 00 9A 4E B9 00 00  60 70 30 3C 00 10 22 3C. .ÜN¦..`p0<.."< 00012BFE 00 01 25 6C 34 3C 00 40  4E B9 00 00 5F 10 30 3C  ..%l4<.@N¦.._.0< 00012C0E  44 06 32 3C FF FF FF FF  FF FF FF FF FF FF FF FF  D.2<

ROM:0001122E                beq.s   loc_11298+2 ROM:00011230                move.w  #5,d0 ROM:00011234                move.l  #unk_66520,d1 ROM:0001123A                move.w  #$3F2,d2 ROM:0001123E                jsr     (sub_606C).l ROM:00011244                 tst.w   ($FF000A).l ROM:0001124A                 beq.w   loc_11862 ROM:0001124E                move.w  #$5D,d0 ; ']' ROM:00011252                move.l  #unk_35800,d1 ROM:00011258                move.w  #$1B4,d2 ROM:0001125C                jsr     (sub_606C).l ROM:00011262                 move.w  #$22D,d0 ROM:00011266                move.l  #unk_61F80,d1 ROM:0001126C                move.w  #$406,d2 ROM:00011270                jsr     (sub_606C).l ROM:00011276                 move.w  #$134,d0 ROM:0001127A                move.l  #unk_682A0,d1 ROM:00011280                move.w  #$633,d2 ROM:00011284                jsr     (sub_606C).l ROM:0001128A                 move.w  #$10,d0 ROM:0001128E                move.l  #off_120A2,d1 ROM:00011294                move.w  #0,d2 ROM:00011298 ROM:00011298 loc_11298:                             ; CODE XREF: ROM:0001122E�j ROM:00011298                jsr     (sub_5FF8).l ROM:0001129E                 move.w  #$20,d0 ; ' ' ROM:000112A2                move.l  #off_121EE,d1 ROM:000112A8                move.w  #$20,d2 ; ' ' ROM:000112AC                jsr     (sub_5FF8).l ROM:000112B2                 clr.l   ($FF0842).l ROM:000112B8                 bsr.w   sub_11BAC ROM:000112BC                move.w  #$100,d7 ROM:000112C0                bsr.w   sub_11714 ROM:000112C4                bsr.w   sub_116CC ROM:000112C8                move.w  #$100,d7 ROM:000112CC                bsr.w   sub_11714 ROM:000112D0                bsr.w   sub_116A8 ROM:000112D4                move.w  #$80,d7 ; 'Ç' ROM:000112D8                bsr.w   sub_11714 ROM:000112DC                bsr.w   sub_116CC ROM:000112E0                move.w  #$80,d7 ; 'Ç' ROM:000112E4                bsr.w   sub_11714 ROM:000112E8                lea     (off_11678).l,a6 ROM:000112EE                lea     (off_11668).l,a5 ROM:000112F4 ROM:000112F4 loc_112F4:                             ; CODE XREF: ROM:0001134C�j ROM:000112F4                movea.l (a5)+,a4 ROM:000112F6                move.l  #0,d7 ROM:000112FC                move.w  (a4)+,d7 ROM:000112FE                swap    d7 ROM:00011300                 or.l    #$40000000,d7

ROM:00012BAE                beq.s   unk_12C26 ROM:00012BB0                move.w  #$E1,d0 ; 'ß' ROM:00012BB4                move.l  #unk_3E000,d1 ROM:00012BBA                move.w  #$406,d2 ROM:00012BBE                jsr     (sub_5F84).l ROM:00012BC4                 moveq   #2,d0 ROM:00012BC6                move.l  #unk_369A0,d1 ROM:00012BCC                move.w  #$3F2,d2 ROM:00012BD0                jsr     (sub_5F84).l ROM:00012BD6                 move.w  #$2406,d0 ROM:00012BDA                move.w  #$239A,d1 ROM:00012BDE                moveq   #$E,d2 ROM:00012BE0                moveq   #$E,d3 ROM:00012BE2                jsr     (sub_655C).l ROM:00012BE8                 move.l  #unk_1256C,($FF009A).l ROM:00012BF2                 jsr     (loc_6070).l ROM:00012BF8                 move.w  #$10,d0 ROM:00012BFC                move.l  #unk_1256C,d1 ROM:00012C02                move.w  #$40,d2 ; '@' ROM:00012C06                jsr     (loc_5F10).l ROM:00012C0C                 move.w  #$4406,d0 ROM:00012C10                move.w  #$FFFF,d1 ROM:00012C10 ; ---

thumb
LE thumb branch to self: $FEE7 (from datasheet) thumb nop: $0000 (determined on my own from dataheet; this expands to movs r0, r0)
 * IDA/Sonic Genesis says LE thumb nop is $C046

LE thumb rts: $F746 (from existing code)

go here

needs arcade board identification:
 * Pump It Up Pro

TODO go through the full nmk16 list to see if any were NOT done by NMK, then rename arcadesys as necessary
 * Task Force Harrier

TurboGrafx-16
 * Devil Crash (JP)
 * sound driver: physical address $CAD
 * play sound routine: physical address $CE4
 * controller input: physical address $17C (stores in physical $1F000E, $1F0013, $1F0018 - one of these three, but which?)

Wimbledon Championship Tennis MD:
 * checksum check routine
 * JP - $404 (disable: 404:4E75)
 * region check routine
 * JP - $442 (disable: 442:4E75)

Mario Andretti Racing MD:
 * checksum check routine: $1FFCC4 (disable: 1FFCC4:4E75)
 * screen mode: byte $FFF546 (range [0,$12] step 1)

Shinobi SMS:
 * initial screen mode byte:
 * JP: $FA; range: [0,8], step 1, high bit may be set

=x=
 * Sagaia GB
 * $13D2 - ldir