amiga_boottest
diff src/startup.s @ 2:58ebd84822e7
it works
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 22 Feb 2018 12:44:20 +0200 |
parents | 48093e4bd99a |
children |
line diff
1.1 --- a/src/startup.s Wed Feb 21 18:00:45 2018 +0200 1.2 +++ b/src/startup.s Thu Feb 22 12:44:20 2018 +0200 1.3 @@ -1,9 +1,8 @@ 1.4 | vi:filetype=gas68k: 1.5 - .global start 1.6 .global halt_cpu 1.7 .extern main 1.8 1.9 - .section .text.startup 1.10 + .section .startup,"a" 1.11 1.12 | enter supervisor mode (assumes VBR=0) 1.13 move.l #super, 0x80 1.14 @@ -16,7 +15,7 @@ 1.15 move.l #_bss_end, %a1 1.16 cmp.l %a0, %a1 1.17 beq.s 1f | skip zeroing if the section is empty 1.18 -0: clr.l (%a0)+ 1.19 +0: clr.b (%a0)+ 1.20 cmp.l %a0, %a1 1.21 bne.s 0b 1.22 1: