diff options
| author | Duncan Smith | 2010-06-20 23:45:44 -0700 |
|---|---|---|
| committer | Duncan Smith | 2010-06-20 23:45:44 -0700 |
| commit | 9596670d0c404f8c88e99ef9bb4dbc2d3243f8be (patch) | |
| tree | 8f628f7e056cfee52ce1b78e0008c06677349581 | |
| parent | 39eda22388b404b9e0dd6409c252f52c1e4aed98 (diff) | |
Forgot to pop the ROM_CALL arguments ...
| -rw-r--r-- | main.asm | 10 | ||||
| -rw-r--r-- | video.c | 2 |
2 files changed, 8 insertions, 4 deletions
@@ -61,26 +61,30 @@ __main: include "flags.asm" emu_setup: - movea emu_plain_op,a5 - lea emu_run(pc),a2 - ;; Allocate memory pages; for now I assume this succeeds move.l #$4000,-(a7) ROM_CALL malloc + addq #4,a7 move.l a0,ref_0 move.l #$4000,-(a7) ROM_CALL malloc + addq #4,a7 move.l a0,ref_1 move.l #$4000,-(a7) ROM_CALL malloc + addq #4,a7 move.l a0,ref_2 move.l #$4000,-(a7) ROM_CALL malloc + addq #4,a7 move.l a0,ref_3 + movea emu_plain_op,a5 + lea emu_run(pc),a2 + rts @@ -5,7 +5,7 @@ */ #include <graph.h> -#include <nostub.h> + #define VIDEO_ROWMODE 0x01 #define VIDEO_COLMODE 0x00 |
