I'm trying the new version "Z64KNewUI.jar". I can run it at full speed without noise. But, I only have the alphabetics keys. I have got any numerics or symbols. I'm working with a french keyboard. More precision, the numeric keypad works and I have the ';' on the key 4 of the alphabetics keyboard.
The keyboard support has been very challenging, especially for keyboards with limited keys on them. I still need to do a lot of work on internationalization of the newUI. I will look into creating a virtual keyboard at some point but for now the physical PC keyboard can be configured via the keyboard editor under the tools menu. I also plan on including full language support in the future. At the moment I am only using Google translate so I will be asking for contribution from native language speakers to assist with proper translation.
After a long break from C128 programming I’m now back and want to use Z64K as the debugging tool. I noticed that the emulator asks for a system to emulate at boot. I need it to boot straight into C128 with two screens and boot a program. Can I supply options when running somehow to achieve that?
Yes, there are some command line options to be able to start with your choice of emulator and to autostart programs. The VICE test repository makes good use of this and you can look at the Z64K specific testbench scripts there for good examples of what commands Z64K supports.
The option for emulator are [atari2600|c64|c128|vic20]. eg java -jar Z64K.jar c128 will start Z64K using the C128 emulation.
To autoload a program you only need to include the complete path and name of the program you want to run in the command line. The program needs to end with .prg.
You can also insert disks and cartridges using the complete path and name of the disk image/crt image.
Snapshots can be loaded without the need of the emulator type option and will automatically restore Z64K with the correct emulator and settings.
An example of a batch file I use on windows to assign .zsf files (Z64K snapshot files) to Z64K is as follows. You could create batch files to do custom startup of Z64K including starting in C128.
@echo off start javaw -jar -Dsun.java2d.uiScale=1.0 C:\Users\William\IdeaProjects\Z64K\out\artifacts\Z64K_jar\Z64K.jar -snapshot %1 exit Some other useful command line options relevant to C128, most having the same functionality as VICE for consistency, are:-
I haven't included a command line option to enable 2nd screen on startup yet but I will include it in the next release. While I'm thinking of it I will include an option to select 40/80 column screen on startup as well.
An example command line option to start Z64K in C128 mode and run a program is java -jar Z64K.jar c128 E:\testprogs\c128\d030tester\d030tester2.0.prg
I will eventually document all the undocumented features of Z64K. I hope the above makes enough sense to be useful at this stage but please let me know if you need me to clarify anything I said above. I will let you know when I include options to enable 2nd screen at startup. One workaround to start with 2 screens is to create a snapshot image with both screens enabled and just load that snapshot on startup...
Very nice, I've always been disappointed in the VICE's C128 mode. It's good to see someone is finally addressing/fixing some of those quirks. I'll be using this from now on.
One little glitch I've noticed is that in the bottom right corner of the C128 mode there is a "40/80" indicator and F7 toggles the little mark between 40 and 80 but, it seems to be backward. When the little mark is under the 40 and I reset, I'm in 80col mode and when I select 80 and reset I'm in 40col mode.
It's OK if you don't agree with me, I can't force you to be right.