|
Post by hydrophilic on Jan 15, 2016 0:53:43 GMT
Attached is disk image SAM128C.D64 (170.75 KB) of SAM 128 Gamma. It is mainly the same as SAM 128 Beta, however the original code has been "compressed" (optimized) to allow room for bug fixes and new C128 code. 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).
|
|
|
Post by robertb on Jan 15, 2016 4:53:51 GMT
Whoa! Just in time before my weekend travels and especially before our long-distance FCUG meeting on Sunday (see retro-link.com/smf/index.php?topic=1365.msg3693#msg3693 ). That means I'll have to bring along the C128DCR with its SuperMMU daughterboard so I can run the SuperCPU 128 (I was just going to use a member's flat, unexpanded C128 at the meeting originally). Leaving tomorrow after work, Robert Bernardo Fresno Commodore User Group www.dickestel.com/fcug.htm
|
|
|
Post by hydrophilic on Jan 19, 2016 2:11:27 GMT
I look forward to any/all feedback regarding SCPU.
In the meantime, I just finished testing (and bug-fixing) the "final" SAM 128 version with BASIC Wedge. It works on stock C128, or with BASIC 7.80, or with BASIC 8. (I have not tried other extensions, like RAMDOS, etc.) Anyway, I'll wait a while to see how the SCPU code works (or fails) before publishing new/final code.
|
|
|
Post by robertb on Jan 19, 2016 6:58:33 GMT
hydrophilic wrote: > I look forward to any/all feedback regarding SCPU. Due to unforseen hardware difficulties at our off-site FCUG meeting, we did not run the SAM 128 Gamma. So, everybody will have to wait a bit longer. > In the meantime, I just finished testing (and bug-fixing) the "final" SAM 128 version with BASIC Wedge. > It works on stock C128, or with BASIC 7.80, or with BASIC 8. Very nice to have a wedge! Truly, Robert Bernardo Fresno Commodore User Group www.dickestel.com/fcug.htm
|
|
|
Post by nonefornow on Jan 19, 2016 15:19:19 GMT
I thought there was a version of VICE that emulates the SCPU. What's the difference between that and your multi-MHz version of VICE? Could that also be used to test your D64.?
|
|
|
Post by VDC 8x2 on Jan 20, 2016 17:44:15 GMT
Sadly, That version is c64 superCPU.
|
|
|
Post by hydrophilic on Jan 21, 2016 0:45:35 GMT
My multi-MHz VICE only implements custom speed 1~63 MHz... it does not emulate the new opcodes of the 65816 CPU, nor does it emulate any of the Super CPU registers in the $d0xx region. I used 20MHz custom speed (per RobertB's post) to test settings for SAM128... and I used info by VDC 8x2 to test if SCPU is present/active. I hope somebody with real hardware can report how the software works or fails While working on my BASIC wedge, I found and corrected a few minor bugs. I don't think the changes have any impact on SCPU version, but anyway, the latest version is ready for download: SAM128D.D64 (170.75 KB). Even if you don't own a SCPU, you might want to test (and report) on the BASIC wedge. Yeah, I know I said I would wait before releasing version with BASIC wedge, but it is so much nicer to use (than SYS calls) that I thought I should share it with everyone today (while we await the results of SCPU testing). I'm still in early testing of BASIC Wedge, but so far it seems to work fine with standard BASIC 7.0, and extensions BASIC 7.80 and BASIC 8. I haven't tested it with RAM DOS yet. Are there any other BASIC extensions that I should test?
|
|
|
Post by robertb on Jan 21, 2016 5:17:41 GMT
...so far it seems to work fine with standard BASIC 7.0, and extensions BASIC 7.80 and BASIC 8. I haven't tested it with RAM DOS yet. Are there any other BASIC extensions that I should test? Well, there is Gnome Kit Utility for the C128, but I haven't found a place to get that extension. Truly, Robert Bernardo Fresno Commodore User Group www.dickestel.com/fcug.htm
|
|
|
Post by trainmaster on Jan 21, 2016 18:44:08 GMT
You could also try it with BASIC 7.1 that I just added here
|
|
|
Post by robertb on Feb 17, 2016 6:16:02 GMT
Due to unforseen hardware difficulties at our off-site FCUG meeting, we did not run the SAM 128 Gamma. SAM 128 Gamma with SuperCPU 128 is at the top of the software agenda at Sunday's FCUG meeting. Getting it done, Robert Bernardo Fresno Commodore User Group www.dickestel.com/fcug.htm
|
|