Commit Graph

9 Commits

Author SHA1 Message Date
cybernesto
c3e61e5ba4 Adapted the note frequencies for the Cricket!
The Cricket! uses a 4.9152MHz crystal which it uses to derive the
frequency of the PSGs resulting in 20% higher timer values. The note
values were extracted from the Appendix C of the Cricket! manual.
2017-04-25 19:02:40 +02:00
cybernesto
a084f07bb5 Added first version of the MCS player for the Cricket!
This version requires the Cricket! from Street Electronics to be
connected on the serial port 2 of the Apple //c. It uses the VBL
interrupt to replace the 60Hz Interrupts of the Mockingboard version so
it will run a bit slower on european models with 50Hz. This can be
partly compensated by selecting a lower TEMPO value, even tough it is
not the perfect solution yet.
2017-04-24 20:36:04 +02:00
cybernesto
84c6904ae0 Minor optimizations
* Moved the ENABLE register initialization to the PARAMS array
* Removed unused labels
2017-04-22 17:34:01 +02:00
cybernesto
96c2745384 Moved buffer and song addresses to higher memory
* AY register buffer moved from $300 to $8400. Replaced fixed
references with an EQU.
* Song moved from $4000 to $8900. This allows to keep the whole player
routine including buffers and songs between $8400 and $9200.
* Changed zero page pointers to safer locations.
2017-04-22 09:51:24 +02:00
cybernesto
7b1bc9712b Added PSG initialization
The Mockingboard Developer’s Toolkit included as interrupt based MCS
player that was obviously based on the original sources but included
important corrections. This included the PSG initialization and a
correction the frequency tables.
The code was moved to the address $8500 to match that implementation.
2017-02-05 18:51:03 +01:00
cybernesto
2503860ec5 Added labels to improve readability
Added labels for the ACIA registers.
The interrupt initialization also uses a label instead of a fixed
address to make the player relocatable.
2017-02-05 18:47:55 +01:00
cybernesto
e102e710df Added missing labels
Now the sources can be compiled without errors with Merlin.
2017-02-05 18:45:30 +01:00
cybernesto
0c39994792 Original Version of the player
The original version misses some labels and thus it cannot be compiled.
It is included here for historical reasons.
2017-02-04 20:56:40 +01:00
cybernesto
cadb17b0cd Initial commit 2017-02-04 18:19:50 +01:00