C'est pour ça que les routines de gris de
Backgammon pour Fargo sont patchées:
@@ -301,26 +231,26 @@
| HW2: __gray3P_used_mem + 0xf00
|------------------------------------------------------------------------------
__gray3P_L_plane:
- .long 0x00004c00
+ .long tios__001c
|------------------------------------------------------------------------------
| pointer to medium plane
| HW1: __gray3P_used_mem + 0xf00
| HW2: __gray3P_used_mem + 0x1e00
|------------------------------------------------------------------------------
__gray3P_M_plane:
- .long 0x00004c00
+ .long tios__001c
|------------------------------------------------------------------------------
| pointer to dark plane (set by __gray3P_init_handler)
-| HW1: 0x4c00
+| HW1: tios__001c
| HW2: same as __gray3P_used_mem
|------------------------------------------------------------------------------
__gray3P_D_plane:
- .long 0x00004c00
+ .long tios__001c
|------------------------------------------------------------------------------
| pointer to allocated memory ALIGNED to 8-byte boundary
|------------------------------------------------------------------------------
__gray3P_used_mem:
- .long 0x00004c00
+ .long tios__001c
|------------------------------------------------------------------------------
| This variable is very hard to describe. Indeed this isn't one variable,
| but two variables combined in one.
__gray3P_continue_cleanup:
- lea (__gray3P_L_plane,%pc),%a0 | restore plane pointers to 0x4c00 for sure
- move.l #0x04c00,(%a0)+
- move.l #0x04c00,(%a0)+
- move.l #0x04c00,(%a0)+
- move.l #0x04c00,(%a0)
+ lea (__gray3P_L_plane,%pc),%a0 | restore plane pointers to tios__001c for sure
+ move.l #tios__001c,(%a0)+
+ move.l #tios__001c,(%a0)+
+ move.l #tios__001c,(%a0)+
+ move.l #tios__001c,(%a0)
parmi les patches effectués (j'ai aussi viré tout le code HW2 qui ne ferait que gaspiller de la place sur les TI-92).