Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fenarinarsa committed Sep 16, 2020
1 parent dc108d3 commit e4c5f23
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ Boot on the floppy disk.

Kessessay will display:

On II/II+/IIgs:
- The Apple II model

On IIe/IIc:
- The Apple II model
(II+/IIe/IIc only:)
- The CPU version: 6502 or 65C02
(IIe/IIc only:)
- The system video frequency: 50Hz (PAL) or 60Hz (NTSC)
- Slots where a Mockingboard is detected (X if none found)

Expand Down
6 changes: 2 additions & 4 deletions boot.a
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
; boot.a - Minimal version
; boot0 (T0/S0) / boot1 (FLOAD) / boot2 (MAIN)
; by Grouik/French Touch and fenarinarsa/French Touch
;
; needs DISK II card in SLOT #6
;
; 0.04
; 2020


!cpu 65c02
!convtab "a2txt.bin" ; incorporation table caractère APPLE II (normal) générale
Expand Down
14 changes: 10 additions & 4 deletions main.a
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
; ACME 0.96.4
; Kessessay - Main
; Apple II specs detection
; by Grouik/French Touch and fenarinarsa/French Touch
; 2020

!cpu 65c02
!convtab "a2txt.bin" ; incorporation table caractère APPLE II (normal) générale
!convtab "a2txt.bin" ; general ASCII LUT
!sl "lbl_main.txt"

; ZEROPAGE
Expand Down Expand Up @@ -176,7 +182,7 @@ Frequency_IIc
LDA $C070 ; reset VSYNC IRF

LDA COUNTREF
; STA L_FRQ+39 ; debug
; STA L_FRQ+39 ; uncomment for debug
CMP #20 ; frame is >= 20000 cycles, then 50Hz
; PAL = 20280 cycles
; NTSC = 17030 cycles
Expand Down Expand Up @@ -204,7 +210,7 @@ Mockingboard
CMP #'c'
BNE .noMockingboard4c
LDA #$FF
STA $C403 ; activate MB 4c (IIc)
STA $C403 ; activates MB 4c (IIc)
STA $C404

.noMockingboard4c
Expand Down Expand Up @@ -254,7 +260,7 @@ print_d STA $400,X
INX
JMP print_s

COUNTREF !byte 0x00 ; compteur routine detect refresh
COUNTREF !byte 0x00 ; counter refresh detection

str_AppleII !text " MODEL: II"
str_AppleIIm !text " "
Expand Down

0 comments on commit e4c5f23

Please sign in to comment.