Updated open-source, C-based SX28 emulator with support for SX/B SERIN and SERO
RW Senser
Posts: 61
If you are interested in SX28 emulators, please have a look at http://www.rwsenser.com/···· This site makes available my C-based, Open Source SX28 emulator.· The site provides an emulator description, FAQ and a zip file containing the emulator (which runs·on Windows, LINUX and other systems), the source code, diagnostic programs and driver programs.· This emulator has been·in production·for about·12 months and it runs SX/B programs and, of course, SX assembler programs.· Feedback welcome!· See the included "WinQuick" directory for easy-to-run demos.
Comments
If I had the time, I might try converting this sim to run in a browser and thereby provide a live "animation" of SX code samples on sxlist.com.
But I don't have the time. Perhaps someone else will?
I started such a project years ago but was not able to justify completing it. That version included providing an explination of what is about to happen in the internal registers as each instruction is about to "execute" in the code snippet shown on the screen, including a link to the web page for that specific instruction, values in the registers now and what they would be.
The major difference is that the original idea I had would have worked as a sort of an interpreter and would not have required an entire compiled program listing to run from thereby being very useful to show what a short snipette of code would do.
Anyway. Thanks for sharing the open source code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james at sxlist,com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
Hey, thanks for the "thanks".· Feedback always welcome.
I can see you spent a lot of time on this project. Nice Work.
Many thanks.
I followed the linux "build" text file you included in the .zip.
In the Console "cd" into the "source" directory and type:
gcc -c pdl_rdr.cpp
gcc -c sxcore.cpp
gcc -c main.cpp
gcc -lm -lstdc++ -o esx28v3 main.o sxcore.o pdl_rdr.o
done!
I guess I could have made a xcode project and used the IDE GUI to build it but why?
You must follow American National Standards Institute (ANSI) standards pretty closely to make your code that portable. It's a shame others don't. Keep up the good work and thank you for following the ANSI standards. You should be quite satisfied because, in theory your code should also work on about 30 others systems (http://gcc.gnu.org/install/specific.html). I would add that to my resume!
D Myers
PS If you don't follow ANSI standards and for some reason this just worked! You should think about teaching others what it is you are doing! If I can compile that program on Linux AND BSD (OS X) with absolutely no errors and compile for windows to! You must be doing something others aren't!
Hey, thanks for the kind words.· In a previous life I did a lot of portable C coding -- so I guess some of the habits stuck. <<smile>>
I'll include your Mac build steps in my next cut of ESX.· Thanks again for the info!
R W Senser