diff options
| author | Duncan Smith | 2010-07-17 10:11:28 -0700 |
|---|---|---|
| committer | Duncan Smith | 2010-07-17 10:11:28 -0700 |
| commit | 8c5e90c63a02948e981d2428bbc9f8da8689e477 (patch) | |
| tree | bdc8efed01c8077a43cad6b8bd9708ee20084740 /main.asm | |
| parent | 9b019945e2ad47afa810859bc291030b4bc63360 (diff) | |
deref wasn't working properly because of insufficient shifting, fixed
Diffstat (limited to 'main.asm')
| -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 |
