Post by hydrophilic on Jan 15, 2016 0:53:43 GMT
Now when you Install SAM 128, it will check your machine for NTSC/PAL/SLOW/FAST/SCPU and adjust its variables. If you change settings after Install (for example, stock machine goes from SLOW -> FAST) then you should call CPUfix (60958) to adjust SAM's settings (if not, he will sound really weird).
Using my custom (multi-MHz) version of VICE, I was able to test that SAM sounds "right" (almost identical to original C64/NTSC settings) in the following cases:
- NTSC @ 1MHz
- PAL @ 1MHz
- NTSC @ 2MHz
- PAL @ 2MHz
- NTSC @ 20MHz
- PAL @ 20MHz
I can only test (real hardware) NTSC 1 and 2 MHz. VICE is a pretty good emulator, so I have faith in PAL 1 and 2 MHz.
However, I am worried it will fail with SCPU (20MHz). I think the 20MHz variables are correct (or pretty close), but I am not sure the program will correctly detect 20MHz speed!
In particular, I worry that it may invoke 20MHz settings on any machine with a SCPU... even if the SCPU is not running at 20MHz!
I have no way test myself, so I am asking for volunteers...
If you own a SCPU, first try running the DEMO program with SCPU switched off. If that works, next try running DEMO program with SCPU switched on.
CRITICAL: For testing/reporting purposes, it is very important that you Reset (or power off, then power on) your C128 before each test.
I hope this works... if not I can resort to counting "cycles per raster". Anyway, thanks for your feedback... I'll be sure to mention you in the source code and my webpage.
To make testing faster/easier, you can enter SYS 60958 after changing SCPU setting. For example, you boot with SCPU "off" (stock speed) and run the DEMO (hopefully it sounds good)... and then switch your SCPU "on" (full 20MHz speed), enter SYS 60958: RUN.
In short: most reliable results will be after computer reset... but you can use SYS 60958 anytime you change hardware settings (if my code works right).