I have completed the port to the Kawalski Simulator.
There are not too many features to port as the simulator only has a simple console window and no other IO.
I have also modified 4 of the sample programs to work with the limited conio.h routines. This should give a decent starting point for others to probe the workings of a generic cc65 target.
I just need to write up an brief instruction on installing cc65 with this target, along with generating and loading the samples.
Daryl
This sounds great, Daryl. Will this same material apply to the cc65 assembler as well? I don't have much interest in C, but I could make use of cc65 and the Kawalski Simulator for some asm projects. Thanks,
Try a google search for uIP 1.0 or better yet, uIP 0.9.
I don't know why I still don't have a mindset geared to doing the easy thing, a web search. Anyway, ixquick.com (the search engine we use) instantly turned up a load of relevant sites. Edit, years later: We're using duckduckgo.com now.
Follow installation.txt instructions. Also has compiling and loading instructions.
Sim files are included and appear in the 6502 subfolder after installation.
Thanks
Daryl
Finally.... I was getting many 403 forbidden errors trying to post this. Finally got it to work.
The version of the Kowalski simulator you included, which is version 1.2.8, appears to have some problems, not the least of which the I/O window function doesn't work at all. When the simulator tries to open the I/O window, nothing appears, and the main program window in which the simulator is running goes out of focus.
Also, someone removed some functionality from under the File menu option. The older version I have (1.2.5) includes a recent files list. The newer version does not. Also, in the newer version you can't resize the open and save dialog windows, which is extremely annoying.
I installed the cc65 to the suggested path C:\Program files\cc65 and i pasted the CC65 folder in the installed cc65 in program files, and when i try to make hello1 it can't find the lib files. I fixed the path to go trough program files, but still nothing.
I installed the cc65 to the suggested path C:\Program files\cc65 and i pasted the CC65 folder in the installed cc65 in program files, and when i try to make hello1 it can't find the lib files. I fixed the path to go trough program files, but still nothing.
It has to be installed to c:\cc65 for all the batch files to work. Try to uninstall and reinstall to that folder.
I am sorry, my original post gave instructions to place it there but with all those 403 errors, it must have gotten dropped in the final post that worked.
I fixed the instrcutions and have added a new demo, in the Hello3 folder. This is just an assembly file (no C) that can be assembled and linked using cc65 and run in the simulator.
The sim.cfg file should be in the c:\cc65\cfg folder. If it is not, run the copysim.bat file in the c:\cc65\sim folder. That will re-compile the SIM target files and copy all the necessary files. I checked my machine and there is not a specific PATH to the c:\cc65\cfg folder in DOS so the compiler must search in the c:\cc65\cfg folder by default.
Let me know if you cannot get it to work. You can also try to copy the sim.cfg file to the hello1 folder and see if it finds it then.