stid / kick-c64-dead-test Goto Github PK
View Code? Open in Web Editor NEWKick assembler personalized version of the C=64 rev. 781220 Dead Test + more
Kick assembler personalized version of the C=64 rev. 781220 Dead Test + more
It is not a bug, just a suggestion.
The original RAM Test only tests 4k of RAM (according to the dead test manual). It would be nice to have a final RAM Test, that tests all RAM. Or at least the previously untested RAM. The original RAM Test is IMHO not very effective, either. It sets all bits separately etc. Actually, a test writing AA, then 55 and finally a Pseudo Random Number sequence, would also reveal address bus problems. The PRN are not so Random, just a fix sequence of bytes that repeat after like 247 and not 256 numbers. This odd length allows to see, if there are RAM pages confused or overwritten. I have done such a test for the VIC-20 (Expansion) RAM Tester, that I have written. It would be a really helpful feature. Probably not much works (maybe a bit tricky for the memory below the Kernal).
Your SID Filter Test is really cool, BTW.
Regards,
Sven.
Not a bug or an issue, but it would be nice if you could add the little BASIC/KERNAL/CHAR rom test from the diag cart.
Here it is:
;KERNAL/BASIC/CHARAC ROM test
I890E LDX #$09
I8910 LDA F993C,X ;"KERNAL ROM"
STA F0568,X
DEX
BPL I8910
LDX #$08
I891B LDA F9933,X ;"BASIC"
STA F0590,X
DEX
BPL I891B
LDX #$09
I8926 LDA F9946,X ;"CHARAC"
STA F05B8,X
DEX
BPL I8926
;KERNAL ROM TEST
LDA #$37
STA A01
LDA #>$E000
STA AF9
LDA #$20 ;$2000 of mem to test
STA A0F
LDA #$00
STA AF8
TAY
CLC
I8941 ADC (PF8),Y
INY
BNE I8941
INC AF9
DEC A0F
BNE I8941
ADC #$00
PHA
LDA AFF80 ;Kernal Version Number
CMP #$AA
BEQ I896A
CMP #$00
BEQ I8962
PLA
CMP #$E0
BEQ I8972 ;"OK"
JMP I8983 ;"BAD"
I8962 PLA
CMP #$E1
BEQ I8972 ;"OK"
JMP I8983 ;"BAD"
I896A PLA
CMP #$E1
BEQ I8972 ;"OK"
JMP I8983 ;"BAD"
I8972 LDA #$37 ;"Kernal ROM OK"
STA A01
LDA #$0F ;"O"
STA A0575
LDA #$0B ;"K"
STA A0576
JMP I89A1
I8983 LDA #$37 ;"Kernal ROM BAD"
STA A01
LDA #$02 ;"B"
STA A0575
LDA #$01 ;"A"
STA A0576
LDA #$04 ;"D"
STA A0577
LDA #$02
STA AD975
STA AD976
STA AD977
;BASIC ROM TEST
I89A1 LDA #$37
STA A01
LDA #>$A000
STA AF9
LDA #$20 ;$2000 of mem to test
STA A0F
LDA #$00
STA AF8
TAY
CLC
I89B3 ADC (PF8),Y
INY
BNE I89B3
INC AF9
DEC A0F
BNE I89B3
ADC #$00
CMP #$A1
BNE I89D5
LDA #$37
STA A01
LDA #$0F ;"O"
STA A059D
LDA #$0B ;"K"
STA A059E
JMP I89F3
I89D5 LDA #$37 ;BASIC ROM "BAD"
STA A01
LDA #$02 ;"B"
STA A059D
LDA #$01 ;"A"
STA A059E
LDA #$04 ;"D"
STA A059F
LDA #$02
STA AD99D
STA AD99E
STA AD99F
;CHARACTER ROM TEST
I89F3 LDA #$33
STA A01
LDA #>$D000
STA AF9
LDA #$10 ;$1000 of mem
STA A0F
LDA #$00
STA AF8
TAY
CLC
I8A05 ADC (PF8),Y
INY
BNE I8A05
INC AF9
DEC A0F
BNE I8A05
ADC #$00
CMP #$F7
BNE I8A25
LDA #$37
STA A01
LDA #$0F ;"O"
STA A05C5
LDA #$0B ;"K"
STA A05C6
RTS
I8A25 LDA #$37 ;CHAR ROM "BAD"
STA A01
LDA #$02 ;"B"
STA A05C5
LDA #$01 ;"A"
STA A05C6
LDA #$04 ;"D"
STA A05C7
LDA #$02
STA AD9C5
STA AD9C6
STA AD9C7
RTS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.