--
You received this message because you are subscribed to the Google Groups "C65GS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to c65gs-development+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Gabor,
when I make changes to the kickstart.a65 file (in the mega65-core project), then MAKE the KICKUP.file, normally I need to
- insert sdcard to pc, copy new KICKUP to sdcard, eject card,
- put card into nexys board, press reset, wait for the bin-file to load into fpga,
- then watch the serial-comms as KICKUP runs.
- and determine if the new KICKUP file performs what it was meant to.
Your emulator makes that process SO-MUCH easier, because I just need to run a script that put the files in place, and execute your emulator.
BUT, the serial comms performed by the emulator is really slow.
=> Can this be sped up?
Are you emulating the delay that the assembly in KICKUP performs?
The KICKUP assembly makes a call to the "Checkpoint" routine which writes char-by-char to the serial-port-component, and between each char sent, performs a tight-loop implementing a 2000-or-so clock cycle delay, which apparently gives the char enough time to be sent.
I just wanted to clarify with you the purpose of these two options shown during startup. I've tried describing them as I've understood them so far and I think I'm probably slightly wrong to some extent, so would be happy to be correct:
But how about the unix-domain socket connection to m65dbg, does that work in WinXP+Cygwin?
Well, initially, the m65dbg app seemed to freeze after typing the first command, but I've updated the code to avoid this and now it seems to work fine, whew :)
Here's some visual confirmation :)
Regards,
Gurce
--
Hello,Can I suggest that you make the emulator mirror the M65 behaviour by default, i.e., allowing one update to kickstart. Command line options could be added to always prompt, or to never prompt, to support various work-flows.Paul.
I've tried this newer mega65.img with the "Not upgraded yet..." button, and it still crashes in the disk-chooser menu. So I want to assess what the exact version of each kickstart is:
Aah, ok, no change between old and newly downloaded mega65.img in relation to kickstart version...
Also, these two commits mentioned above are right next to each other in the gitk log-view, with the commit change relating solely to bash script files. Hard to imagine how that would affect the contents of KICKUP.M65...

I feel like I should extract out the KICKUP.M65 file from the "mega65.img" sd-card image and diff it against the default/built-in version to see if they are identical or differ...
If they differ, then, ok, maybe the cause could be due to a faulty KICKUP.M65 of some sort... But if they are the same, perhaps it would imply that there is some difficulty/issue in loading the KICKUP.M65 file from the sd-card image?
Anyway, will keep digging...
Gurce
Ok then, I've compared the built-in "rom/KICKUP.M65" against the file within the sd-card image (mega65.img)...
Hmm, I saw more changes than I expected... I honed the screenshot on a more glaring difference. The sd-card's copy (older?) has a string "RE-TRY IMG TO READ MBR" whereas the built-in "rom/KICKUP.M65" version (newer?) doesn't.
I'm not sure what's going on here, the git commit history can't explain this difference.

Gabor, do you have any memories of which version of KICKUP.M65 you added to the sd-card image? Was it perhaps a very old one that no longer works with the latest emulator?
Gurce
Let's see then...
Trying to open file "KICKUP.M65" as "./KICKUP.M65" ...
OK, file is open (fd = 5)
The startup screen confirms that it is booting up with the older version of kickstart that I wanted to test with:

I choose the "Already upgraded..." button, to assure that we continue booting with this kickstart, and not try locate and use the one on the sd-card image
I do "GO64" and "SYS 49152"
Aah, this still causes that same error message:

Ok then, this is looking like more definitive evidence that the KICKUP.M65 file on the sd-card image downloaded from Gabor's github site isn't working so well the latest xemu.
Gabor, if my chain of thought is sounding convincing to you, it might make for a good case to upgrade the version of KICKUP.M65 you provide within the sd-card image on the github site.
Still, I won't be too hasty in my conclusions, as you might have more of the backstory to share on these matters and reveal aspects I'm not aware of.
Gurce
Regards,
Gurce
--
Hi,
Well, sorry about that, I've just read your posts here, so I've decided to implement a feature like you suggested for optionally skipping this panic stuffs. When I wanted to check travis status out for build-test etc, then I only discovered you made a pull request already. Btw, this is also one of the reasons, I told already we shouldn't have a forked xemu repository which basically either the same as mine, or usually much older version of mine ... Since it's possible to drop a PR to my one directly too, and it's kinda confusing this way sometimes ...
--
Hi Paul,
Well, I has been just thinking on the topic you wrote about here, as well. My main concern about moving to a mega65 repository primarily is the fact that Xemu is a multi-target emulator "framework" so many other emulators exist (and more will come) in the future. Surely, nowadays my main works are about mega65/c65, that's true, indeed. However then it can be confusing to get commits/etc for totally m65/c65 unrelated stuffs. Actually one can say it would be better to split the source to have a c65/m65 only emulator, and the rest of the emulators, it would actually made things even more complex. This is because then I need to do every Xemu project/framework related tasks in two separated source tree :( And actually other emulators (let it be the Z80 based Enterprise-128 emulator or other in Xemu) also can help the c65/m65 emulators from time to time, since the global Xemu level "framework" can be evolved by the needs of other emulators too which can be a win for c65/m65 then. Even currently many features were backported from the Xep128 project, which was a separated Enterprise-128 emulator once, and I am still working on it sometimes to unify the solutions so even m65/c65 emulators can benefit from these works. Well, my English problems always make that harder to be express myself, but hopefully you get the idea. I think, it's maybe even better (though not ideal) to keep things as currently (ie, having two repositories).
--
--
Hi,
Nice. I don't know if hypervisor DOS functions (what - I assume - used by KS to upgrade for newer one too) supports seeking within the file. If it does, an information block can be attached at the end of KICKUP.M65 file. Surely it can be done even if seeking is not so much OK, but then "old" KS needs to load the full KS to get the info block, and I am thinking if it's better to put then to the beginning. Surely it would enlarge KICKUP.M65's size but info block is only info. It can - for example - contains a 32 bit version counter which is more than enough but maybe even textual information or whatever (source of KS, comments, devel info or such), but surely not in a too big size after all. Well, it can even starts with some ID byte sequence just to be sure it's really a KS and not only some invalid file named KICKUP.M65 (or even a checksum included to check integrity?) causes "crash" then after upgraded to. I have no idea if these ideas were useful at all :D
--
Maybe we can use the subroutine "*_getversion" within KICKSTART to find which version we are in, and what has just been loaded?
--
--