diff --git a/A2OSX.BOOT.po b/A2OSX.BOOT.po index 4a3592f3..274f5e11 100644 Binary files a/A2OSX.BOOT.po and b/A2OSX.BOOT.po differ diff --git a/A2OSX.SRC.po b/A2OSX.SRC.po index 213b4caa..dfbfa06a 100644 Binary files a/A2OSX.SRC.po and b/A2OSX.SRC.po differ diff --git a/BIN/EDIT.S.txt b/BIN/EDIT.S.txt index 196cb989..f836467a 100644 --- a/BIN/EDIT.S.txt +++ b/BIN/EDIT.S.txt @@ -143,7 +143,9 @@ CS.RUN >LDYA L.SEQ.DETECT ldy #ScreenW Wait for Response from terminal lda (pData),y for W & H beq .1 - + + >DEBUG + jsr SCRN.Init bcs .9 @@ -194,7 +196,7 @@ CS.QUIT ldy #hBuffer .9 rts *-------------------------------------- CharIn tax - + >DEBUG ldy #bEscMode lda (pData),y asl @@ -251,6 +253,7 @@ CharIn.Esc ldy #bEscMode bne .1 cmp #'R' Response to cursor position query? beq .3 + sec rts diff --git a/README.md b/README.md index d3072ab6..dff63f56 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,11 @@ Several subprojects are now indentified : ## Screenshots ![](https://github.com/burniouf/A2osX/blob/master/ScreenShot.LS.bmp) -![](https://github.com/burniouf/A2osX/blob/master/ScreenShot.EDIT.bmp) - +![](https://github.com/burniouf/A2osX/blob/master/ScreenShot.EDIT.bmp) + +![](https://github.com/burniouf/A2osX/blob/master/PuTTY.png) + ## General Information: ** Kernel 0.9 complete rewrite in progress ** diff --git a/SYS/KERNEL.S.GP.txt b/SYS/KERNEL.S.GP.txt index b49f4ad6..5895d9a1 100644 --- a/SYS/KERNEL.S.GP.txt +++ b/SYS/KERNEL.S.GP.txt @@ -219,8 +219,9 @@ IrqHandler cld lda RDALTZP sta .2+1 - bmi .1 - sta SETALTZP + bmi .1 we are already in AuxZP/LC + + sta SETALTZP coming from MainLC, switch to aux tsx stx A2osX.SaveSM ldx A2osX.SaveSX @@ -228,10 +229,10 @@ IrqHandler cld .1 jsr K.IrqHandler -.2 lda #$ff - bmi .3 +.2 lda #$ff get back ZP status when called + bmi .3 we were coming from AuxZP/LC - tsx + tsx go back to Main stx A2osX.SaveSX ldx A2osX.SaveSM txs diff --git a/SYS/KERNEL.S.INIT3.txt b/SYS/KERNEL.S.INIT3.txt index 5951bbfe..c2b3385c 100644 --- a/SYS/KERNEL.S.INIT3.txt +++ b/SYS/KERNEL.S.INIT3.txt @@ -12,16 +12,16 @@ Kernel.Init3 jsr MemMgrInit >LDYAI MSG.Init3 >SYSCALL CPrintFYA - >LDYAI MSG.IRQ - >SYSCALL CPrintFYA - jsr IrqMgrInit - bcs * - >LDYAI MSG.DEV >SYSCALL CPrintFYA jsr DevMgrInit bcs * + >LDYAI MSG.IRQ + >SYSCALL CPrintFYA + jsr IrqMgrInit + bcs * + >LDYAI MSG.EVT >SYSCALL CPrintFYA jsr EvtMgrInit @@ -195,6 +195,8 @@ IrqMgrInit php sta K.IrqMgrVBL.MSM+2 sta K.IrqMgrVBL.MRM+2 + and #$0f + sta K.IrqMgrVBL.0n asl asl asl @@ -212,11 +214,14 @@ IrqMgrInit php bit RROMBNK2 Renable ROM to allow MOUSE II firmware works properly - ldy #INITMOUSE Reset - jsr GOMOUSE - bcs * +* ldy #INITMOUSE Reset +* jsr GOMOUSE +* bcs * - lda #8 + ldx K.IrqMgrVBL.0n + lda $7F8,x + and #$0F + ora #9 ldy #SETMOUSE jsr GOMOUSE bcs * @@ -472,8 +477,8 @@ I.ENV.DRV >PSTR "DRV=${A2OSX}DRV/" STARTUP.CMDLINE >PSTR "${A2OSX}SBIN/SHELL ${A2OSX}A2osX.STARTUP" *-------------------------------------- MSG.Init3 >CSTR "A2osX[Stage3]:Init\r\n" -MSG.IRQ >CSTR "-Interrupt Manager...\r\n" MSG.DEV >CSTR "-Device Manager...\r\n" +MSG.IRQ >CSTR "-Interrupt Manager...\r\n" MSG.EVT >CSTR "-Event Manager...\r\n" MSG.FLT >CSTR "-Path Filter...\r\n" MSG.TSK >CSTR "-Task Manager...\r\n" diff --git a/SYS/KERNEL.S.IRQ.txt b/SYS/KERNEL.S.IRQ.txt index 603c66c7..167f380a 100644 --- a/SYS/KERNEL.S.IRQ.txt +++ b/SYS/KERNEL.S.IRQ.txt @@ -60,9 +60,14 @@ K.IrkMgr.VBLINT .BS 1 *-------------------------------------- K.IrqHandler lda K.IrkMgr.VBL beq .10 0, totally disabled.... - + jsr K.IrqMgrVBL.MSM SERVEMOUSE - bcs .10 Not From Mouse VBL + bcs .10 Not From Mouse + + ldx K.IrqMgrVBL.0n + lda $778,x + and #$08 IRQ was caused by VBL ? + beq .10 ldx K.IrqMgrVBL.MRM+2 $Cn ldy K.IrqMgrVBL.n0 @@ -106,6 +111,7 @@ K.IrqHandler lda K.IrkMgr.VBL .8 rts *-------------------------------------- K.IrqMgrVBL.n0 .BS 1 +K.IrqMgrVBL.0n .BS 1 K.IrqMgrVBL.MSM jmp $0000 K.IrqMgrVBL.MRM jmp $0000 *--------------------------------------