From 6b2082173bf5cd4875b42e7387940b38007e6eba Mon Sep 17 00:00:00 2001 From: Willem Date: Thu, 29 Nov 2018 20:35:56 +0100 Subject: [PATCH] disable caps filkering --- src/tara/build.asm | 6 +++--- src/tara/init.asm | 26 ++++++++++++++++++-------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/tara/build.asm b/src/tara/build.asm index 6c7b61f..6363d78 100644 --- a/src/tara/build.asm +++ b/src/tara/build.asm @@ -1,14 +1,14 @@ ADR: .dw 0x4000 BUILD: - CALL CAPS_ON + ;CALL CAPS_ON CALL DO_SWAP CALL BUILD_VELD CALL TANKS CALL BULLETS ;CALL MSEL CALL SETPAGE - CALL CAPS_OFF + ;CALL CAPS_OFF LD a,(#BUILD_CNT) inc a @@ -491,7 +491,7 @@ BUILD_VELD: DEC HL LD DE,#CPYTT - LD B,#26 + LD B,#26 ; 24x13 = (384+128radar)512x208 on 512x212 LD C,#15 LD A,#-16 ; ???? LD (DY),A diff --git a/src/tara/init.asm b/src/tara/init.asm index a38c680..784c8a5 100644 --- a/src/tara/init.asm +++ b/src/tara/init.asm @@ -1,20 +1,30 @@ +GFX .equ 0x60 + +GFX_REG .equ 0x03 + INIT_DOME: XOR A ; 2=MIXMODE OUT (0x6F),A - OUT (0x67),A ; POWER OFF + INT CLK + OUT (0x67),A ; P7: MSC + POWER OFF + INT CLK - LD A,#6 ; SETREG + LD A,#6 ; SETREG see page: 80 OUT (0x64),A - LD A,#0b10011010 ;ITMAP,XTAL,212DOTS,8BIT - OUT (0x63),A - LD A,#0b00001000 ;0,B,262,?,PAL,INTER,INTERLACE,MODE - OUT (0x63),A - LD A,#0b10000010 ; VRAM,SPRITE,YS,0,0,DREQ,512KB + LD A,#0b10011010 ; R6: DSPM1,DSPM0,DCKM1,DCKM0,XIMM1,XIMM0,CLRM1,CLRM0 = BITMAP + XTAL/2 + 1024px X space + 8b per dot + OUT (GFX+GFX_REG),A + LD A,#0b00001000 ; R7: 0,C25M,SM1,SM,PAL,EO,IL,HSCN = !B6,262line,?,PAL,none,none-inter,none-high-scn + OUT (GFX+GFX_REG),A + LD A,#0b10000010 ; R8: DISP,SPD,YSE,VWTE,VWM,DMAE,VSL1,VSL0 = VRAM+SPRITE+no-YS+512KB mem OUT (0x63),A + ; mode B3: 512x212 in 1024x512 space + + ; note; + ; YJK = NTSC + ; YUV = PAL + LD A,#13 OUT (0x64),A - LD A,#0b01000000 ; 256 COLOR-MODE + LD A,#0b01000000 ; R13: PLTM1,PLTM0,YAE,PLTAIH,PLT05,PLT04,PLT03,PLT02 = 256 COLOR-MODE OUT (0x63),A INIT_DOME_W0: