From f23b7a890a0ebdcb695f9d84bc77f448761eef9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GIBERT?= Date: Fri, 18 May 2018 15:59:11 +0200 Subject: [PATCH] Kernel 0.9.1 : KERNEL, bugfix in IRQ Manager not properly managing C8xx Space. --- .Floppies/A2OSX.BOOT.po | Bin 143360 -> 143360 bytes .Floppies/A2OSX.BUILD.po | Bin 819200 -> 819200 bytes .Floppies/A2OSX.SRC.po | Bin 819200 -> 819200 bytes SYS/KERNEL.S.IRQ.txt | 47 ++++++++++++++++++++++++++------------- 4 files changed, 31 insertions(+), 16 deletions(-) diff --git a/.Floppies/A2OSX.BOOT.po b/.Floppies/A2OSX.BOOT.po index 3955e38ee787c5c5360a18856cbf9674919afc33..88731e9805c5ce4925fbae12d7a25a0b9554bcaa 100644 GIT binary patch delta 3213 zcmZu!3s95U6}~r*pHO89k0=|X-r@sMOm%cuhIUm5k)#Gp4U)Q}Yw%Gs?Wl`(-4zv5 zCFo*)RIYAp7cyDYU2!&U9y47Zwat`Tk#=lm+;Lg!RvPk0U0o-2b+wK)J^v3u2qc;N zIQM?{obTN8|L4TkE3@^=yef&rKXrOKC6Xy={9p>|Lr9PqCCd2;iHRSG(6!R#RcOd3 zeKo=eiG=+;P}oLYBY|I-O7s;&fyYM!-X96PrmfTr!J+gtJc`C5sdCVGA{bviMAA>E zcIOV)xU4^3ZMuC6e>G=o`=#Av}w*8Mkpu;#X!y1O7G>cU;|p9Ah#NOcQ$7nj&V=1r^w(9hWxkFu zs|`C!X-CyWS!ZH$wd$heQkcC#51R93e+j#@eTe-k5Hvr0IpRa1|60i7Ot0+R-!{@;uib9AZEI?`il5c^ip8q+6xlg zM4$b_fSUqk8+A;6QS{I=M=0x9Y##ZU!mD;8QWW*d_;GHR?K@HvJ@pz0O=Exn}2>D;`Xmu%C$04FuoQ{?D^PAYk-pvM^uf#)H-Jx$u z5$)To=UuAaG98!D6XgF#M24L-dl#@yr1tVNYnOt^P1Cp+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xrCOL^I1R6^Lrg#hQ}dXg$m3 z76#ll|4?#|%&L2A?l*gnPmW;Dz?q|EW(EY1+4p^a6iC8nbloAm7XF()cnCK^9o>Hj zS8aC4fqGf!lmi_y;|=_iy>P747cBD*S-LtaK?`9wnh4wEK$rZur_`u_V{7!Y()IaH zd43x`cL?u#h;@u%U`2m?g=aRtqMxzh4PUMgXBh#E3G$815XO!7Meud_2?9>VT8CE` z2Jau(L_U#Y_Tj3+;MRc$qN@w)C47nERqXDtx7S0=^a#a0hH0-WXii)xTo?qU5hgAS z9mbP~x$2bRJ#HS3^2qQS{D5PB8T&OU_(6I3F51yja>e$ra; G#Qy-*4-kI< diff --git a/.Floppies/A2OSX.SRC.po b/.Floppies/A2OSX.SRC.po index 47d5df2f0f55a2e89b0585906ec7fbc885503206..6ea750b5666017a210e04e48acf4c5fb961e9593 100644 GIT binary patch delta 2600 zcmZWrX;d566~01@^^gE7fY=vfR5rT?|9ko;`PKXMBnM7^Y2Lfv z-M{;;R#)w-tM&~~Vc}+L+upRV@Zb1RxA(;X;YOkuitdHX!nuVMSU*GWRY>Q-GmweL z5+DR20}a!V35SAOt4-?fNnAdw#x;LnRP(tsj~7e|WTqpkCOTkWh`yqbrotHz9rS&L z?0;gVQFkugw9=%TP2aInubWHXvvSZJhD0K z=3|BM%)YX6gugt`s<(Zir?5na^=sKnul5$UWJ^kejy>huuk{uldCw@?K=>{O((yfd z_jS_leGY515N0(Jp2zFj??YxbqG&F!-z|zg z86~U$*?>$m9s}VzYFBO2x381Rx)-?-pDYG~(_vL)26}B+J?l$UM}*FyE%dsiXrdEJ zU*`4fT=2!LQ2isw1S27>MHW$cL>%_IPrFY9!1Uu>D-VJ23OZ`~37sQCW7$u+^P-3%UnFDY3*4C%Z*zRWdY)-|0I}xh2f~@HPH^j8)%2T$vB#TiksY1O$%bj zkNUIV;$K7NzE~8KbpqKk3YDg0n|W9Nhx}t#?z?|M+sTQ8KyJ$>1?6Qs!H+575ReMw zm#TnZLFd(#oNT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9;83lPbl_m+hpJdFj6>4!xHJTJdOWk5VDDQ638k1CPUCP zMDI$(s`1jt2zg={Aw{RvbDK*;t1nZ$*wQn?BDethYDIR;I2yV;lFJvdL4n|);&&@v z9~gpcm%I%QoXJct)@z@^nVh+`*svBR-l}Ev;-KAqCvK>eX}YyeYRXqs=7k*zM+I=) zr2knb_U5m#i%|FVd;@s#>Qq9yw4zQ;Rq??oX$H*C(~5lP zDfprVLz5AiS1CGec((|JY;I=1ywe0Oi!sfwP(9%eJ^3n{QPeo_xjSmY*QkqdRZZW9 z70`bN_@h*c%maCyy&UAbY@l)9LukeKX^L=`>L0Lo;5B2-@Del!R{j1LADi{_|^8JH>7mvBcU_fbb`<4Ewn9|!6R}!;IQ=I4d2570y z!3GAsp67Eo`tg>&!qUAzXZDSH0=av)!hHYT(%04PuVKES+j-(I_=e7%jh&4)Kus;s frE~krExA>D9V@|idYgOVBmK+iNBXr#hK>ILvSZu= diff --git a/SYS/KERNEL.S.IRQ.txt b/SYS/KERNEL.S.IRQ.txt index 84219ca6..b753b31d 100644 --- a/SYS/KERNEL.S.IRQ.txt +++ b/SYS/KERNEL.S.IRQ.txt @@ -13,6 +13,8 @@ AUTO 4,1 *-------------------------------------- MSLOT .EQ $7f8 *-------------------------------------- +K.IrqHAuxLC.BRK jmp K.IrqHAuxLC.6 +*-------------------------------------- K.IrqHAuxLC cld sec @@ -21,7 +23,7 @@ K.IrqHAuxLC cld pla pha and #$10 BRK? - bne K.IrqHAuxLC.6 + bne K.IrqHAuxLC.BRK stx K.IrqHAuxLC.5+1 sty K.IrqHAuxLC.4+1 @@ -31,9 +33,6 @@ K.IrqHAuxLC cld lda $ff pha - lda MSLOT Save MSLOT - pha - lda RDREADAUX pha sta CLRREADAUX Make sure we can access Dev.Table @@ -42,28 +41,44 @@ K.IrqHAuxLC cld pha sta CLRWRITEAUX Driver may R/W in screen holes + lda MSLOT Save MSLOT + pha + + lda RDCXROM + pha + sta CLRCXROM Enable access to slot C800 space + K.IrqHAuxLC.JSR jsr K.IrqH.DEV SELF MODIFIED - pla Must keep Carry - bpl K.IrqHAuxLC.10 - sta SETWRITEAUX + ldx #CLRCXROM + + pla Get CXROM State + bpl .3 + inx +.3 sta $C000,x -K.IrqHAuxLC.10 pla - bpl K.IrqHAuxLC.1 - sta SETREADAUX - -K.IrqHAuxLC.1 pla Get back MSLOT + pla Get back MSLOT sta MSLOT sta K.IrqHAuxLC.2+2 - and #$C0 + and #$F0 eor #$C0 ....mmm...not looking link Cn.... bne K.IrqHAuxLC.3 sta $CFFF Release $C800 K.IrqHAuxLC.2 lda $ff00 SELF MODIFIED -K.IrqHAuxLC.3 pla +K.IrqHAuxLC.3 pla Must keep Carry + bpl .1 + + sta SETWRITEAUX + +.1 pla + bpl .2 + + sta SETREADAUX + +.2 pla sta $ff pla sta $fe @@ -81,10 +96,10 @@ K.IrqHAuxLC.3 pla tsx lda $104,x get RTI PC LO - bne .1 + bne .3 dec $105,x adjust RTI PC HI -.1 dec $104,x back one byte, to make it a "RTS" return adddress +.3 dec $104,x back one byte, to make it a "RTS" return adddress lda $103,x get IRQ pushed P sta $101,x down 2 bytes