# HG changeset patch # User boisy # Date 1187749361 0 # Node ID ac2f5aa71f9321cff2c05e13b2380d73d9f25924 # Parent 2004026c8f361821d02658babce94c4ecd65baf0 made certain pseudo-ops uppercase diff -r 2004026c8f36 -r ac2f5aa71f93 level2/modules/joydrv_6552M.asm --- a/level2/modules/joydrv_6552M.asm Tue Aug 21 19:06:40 2007 +0000 +++ b/level2/modules/joydrv_6552M.asm Wed Aug 22 02:22:41 2007 +0000 @@ -16,9 +16,9 @@ MPI set 1 - ifp1 + IFP1 use defsfile - endc + ENDC tylg set Systm+Objct atrv set ReEnt+rev @@ -132,10 +132,10 @@ andb >L008A,pcr bne L00DF - ifeq MPI-1 + IFEQ MPI-1 lda #$03 sta MPI.Slct - endc + ENDC puls pc,cc diff -r 2004026c8f36 -r ac2f5aa71f93 level2/modules/kernel/krn.asm --- a/level2/modules/kernel/krn.asm Tue Aug 21 19:06:40 2007 +0000 +++ b/level2/modules/kernel/krn.asm Wed Aug 22 02:22:41 2007 +0000 @@ -25,9 +25,9 @@ nam krn ttl NitrOS-9 Level 2 Kernel - ifp1 + IFP1 use defsfile - endc + ENDC * defines for customizations Revision set 9 module revision @@ -43,14 +43,14 @@ fcc /www.katvixen.com/ fcc /www.katvixen.com/ fcc /www.katvixen.com/ - ifne H6309 + IFNE H6309 fcc /www.katvixen.com/ fcc /www.katvixen.com/ fcc /www.katvixe/ - else + ELSE fcc /www.katvixen.c/ fcc /01/ - endc + ENDC * Might as well have this here as just past the end of Kernel... DisTable @@ -69,18 +69,18 @@ SubStrt equ * * D.Flip0 - switch to system task 0 R.Flip0 equ * - ifne H6309 + IFNE H6309 aim #$FE,DAT.Task and we can use A here, instead of E - else + ELSE pshs a lda DAT.Task puls a - endc + ENDC clr R.Flip0,pc ldu #LowSub somewhere in block 0 that's never modified stu $FFA5 Map block into block 6 of my task @@ -277,7 +277,7 @@ bne L0111 No, keep going till ghost is found stb $FFA5 map blocks in - ifne H6309 + IFNE H6309 ldw #R$Size get size of register stack tfm x+,y+ copy it - else + ELSE ldb #R$Size Loop5 lda ,x+ sta ,y+ decb bne Loop5 - endc + ENDC ldx D.SvcIRQ] (Normally routine in Clock calling D.Poll) DoneIRQ bcc L0E28 No error on IRQ, exit - ifne H6309 + IFNE H6309 oim #IntMasks,0,s Setup RTI to shut interrupts off again - else + ELSE lda ,s ora #IntMasks sta ,s - endc + ENDC L0E28 rti * return from a system call @@ -786,45 +786,45 @@ * Switch to new process, X=Process descriptor pointer, U=Stack pointer L0E4C equ * - ifne H6309 + IFNE H6309 oim #$01,DAT.Task save it to GIME leas ,y point to new stack tstb is the stack at SWISTACK? bne MyRTI no, we're doing a system-state rti - ifne H6309 + IFNE H6309 ldf #R$Size E=0 from call to L0E8D before ldu #Where+SWIStack point to the stack tfm u+,y+ move the stack from top of memory to user memory - else + ELSE ldb #R$Size ldu #Where+SWIStack point to the stack RtiLoop lda ,u+ sta ,y+ decb bne RtiLoop - endc + ENDC MyRTI rti return from IRQ * Execute routine in task 1 pointed to by U * comes from user requested SWI vectors L0E5E equ * - ifne H6309 + IFNE H6309 oim #$01,DAT.Task jmp ,u @@ -832,14 +832,14 @@ * by DAT.Task save it to GIME register inc $xxxx) sta >DAT.Task Force to Task 0 (system state) - ifne H6309 + IFNE H6309 tfr 0,dp setup DP - else + ELSE tfr a,dp - endc + ENDC MapGrf equ * - ifne H6309 + IFNE H6309 aim #$FE,DAT.Task jmp [,x] execute it @@ -920,11 +920,11 @@ clra sta >DAT.Task * set DP to zero - ifne H6309 + IFNE H6309 tfr 0,dp - else + ELSE tfr a,dp - endc + ENDC * These lines add a total of 81 addition cycles to each SWI(2,3) call, * and 36 bytes+12 for R$Size in the constant page at $FExx @@ -949,10 +949,10 @@ * a byte less, a cycle more than ldy #$FEED-R$Size, or ldy #$F000+SWIStack leay $FFA5 map 'em back in puls cc,u,pc restore IRQ's, register stack pointer & return - endc + ENDC krnp2 lda #'2 into krnp2 jsr