Mercurial > hg > Members > kono > nitros9-code
view level2/modules/kernel/freboot.asm @ 2639:283433fa565c
Added notes to atari.d
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Tue, 28 Feb 2012 09:26:09 -0600 |
parents | ca83286ded5b |
children |
line wrap: on
line source
****************************************************** * F$ReBoot entry point * Currently disabled (doesn't work) * Besides, there's no need for this code to be in system memory. * A user-mode program can do this just as well. * * Entry A = 0 Cold ReBoot * = 1 Quit to RSDOS * *ReBoot equ * * orcc #Carry Set error flag * rts Exit * tst R$A,u Cold start (a=0) * bne WarmBt no, attempt a warm boot *WarmBt orcc #IntMasks * ldb #CodeSize * leax BootCode,pc * tfr 0,y *BootLoop lda ,x+ * sta ,y+ * decb * bne BootLoop * jmp >$0000 *BootCode equ * * lda >$ffa8 * sta >$ffa0 * clra * sta >$ff90 * sta >$ff91 * jmp >$ed5f *CodeSize equ *-BootCode