Skip to content

Commit

Permalink
Disable autoboot
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoparrilla committed Aug 28, 2023
1 parent ff7a2c4 commit 6c60fa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions src/main.s
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
dc.l $abcdef42 ; magic number
first:
dc.l second
dc.l $08000000 + pre_auto ; TOS application and after GEMDOS init (before booting from disks)

; dc.l $08000000 + pre_auto ; TOS application and after GEMDOS init (before booting from disks)
dc.l $0
dc.l pre_auto
dc.w GEMDOS_TIME ;time
dc.w GEMDOS_DATE ;date
Expand All @@ -42,8 +42,6 @@ first:
second:
dc.l 0 ; if more programs, replace with the next reference.
dc.l $40000000 ; TOS application
; dc.l $08000000 ; Boot after GEMDOS init (before booting from disks)
; dc.l $48000000 + .run_romloader ; TOS application and after GEMDOS init (before booting from disks)
dc.l run_romloader
dc.w GEMDOS_TIME ;time
dc.w GEMDOS_DATE ;date
Expand Down Expand Up @@ -92,12 +90,6 @@ pre_auto:
rts

.runauto:
move.l $432.w,a3 ; Membot
move.l $436.w,a4 ; Memtop
move.w #$0300,sr ; Set user mode
lea -8(a4),sp
clr.l (sp)
move.l a3,4(sp)

run_romloader:
lea romloader(pc),a6
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.3
0.0.4

0 comments on commit 6c60fa5

Please sign in to comment.