sub.w #64,d0 ; Guess for kernel
move.w d0,procmem ; guesses for now
- move.l #0,a0
- move.w #256,d0
+ move.l #8,a0
+ move.w #253,d0
move.l #unexpected,d1
init_trap_loop:
move.l d1,(a0)+
clr.b U_DATA__U_ININTERRUPT(a5)
move.b $00F04000,d0 ; Re-enable
- ; DEBUG FIXME
- bra no_signal
-
tst.b U_DATA__U_INSYS(a5)
bne no_preempt
tst.b need_resched
; FIXME: could be in discard if we wanted
;
init_hardware:
- ; set system RAM size(hadcode hacks for now)
+ ; set system RAM size(hardcode hacks for now)
move.w #512,d0
move.w d0,ramsize
sub.w #64,d0 ; Guess for kernel
move.w d0,procmem ; guesses for now
- move.l #0,a0
- move.w #256,d0
+ move.l #8,a0
+ move.w #253,d0
move.l #unexpected,d1
init_trap_loop:
move.l d1,(a0)+
rts
;
-; TODO
+; We do no banking so we need to do nothing here.
;
map_process_always:
map_process: