diff options
| author | Astrid Smith | 2010-07-17 10:11:28 -0700 |
|---|---|---|
| committer | Astrid Smith | 2010-07-17 10:11:28 -0700 |
| commit | 2faa021f8bca174284069fecdf1896660b32700d (patch) | |
| tree | 63a7bd8ef0ffa026ef535a2ef5a026fae5b07e64 | |
| parent | 98fd9a3d2bd12a5b58c15122297108b83fd2924f (diff) | |
deref wasn't working properly because of insufficient shifting, fixed
| -rw-r--r-- | main.asm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -92,10 +92,11 @@ deref: movea.w d0,a0 move.w d1,d0 andi.w #$C000,d0 ; Can cut this out by pre-masking the table. - rol.w #2,d0 + rol.w #4,d0 adda.l deref_table(pc,d0.w),a0 rts + EVEN deref_table: mem_page_0: dc.l 0 ; bank 0 mem_page_1: dc.l 0 ; bank 1 |
