Search found 645 matches

by at67
10 Apr 2021, 17:20
Forum: Hardware and software hacking
Topic: Where to find gtBasic emulator
Replies: 13
Views: 5327

Re: Where to find gtBasic emulator

Yeah ! it speed up ! How can I compile my gtBasic code ? Is it commande line ? You can compile from the command-line, there is a at67/tools/gtbasic/gtbasic.exe command or you can press CTRL + B and navigate, (left click on folders), to your *.gbas source code and then left click on the source code ...
by at67
09 Apr 2021, 18:24
Forum: Hardware and software hacking
Topic: Where to find gtBasic emulator
Replies: 13
Views: 5327

Re: Where to find gtBasic emulator

Add the path to SDL runtime library to the windows path in order to be able to run gtemuAT67.exe; You can also just copy the SDL2.dll file to the same folder as gtemuAT67.exe , that way you don't have to modify your Window's path, but either method is fine. Run manually the gtemuAT67.exe found in a...
by at67
09 Apr 2021, 09:26
Forum: Hardware and software hacking
Topic: Where to find gtBasic emulator
Replies: 13
Views: 5327

Re: Where to find gtBasic emulator

Thanks ! I guess it was included like the TinyBasic. I tried to compile under Windows without big success as with Linux. I've downloaded cmake and added it to the path. I've downloaded sdl2 binary and sdl2 sources in separated directories. But I don't know how to configure cmake to find libs, the &...
by at67
09 Apr 2021, 05:13
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 95
Views: 53812

Re: New vCPU instructions 2.0

About maxTicks. The code that really determines the maximum execution time is the dispatcher test that branches to EXIT when the tick count turns negative. What runVcpu does is initializing the tick count in such a way that it turns negative when there are less than maxTicks ticks left. But suppose...
by at67
08 Apr 2021, 13:27
Forum: Hardware and software hacking
Topic: Where to find gtBasic emulator
Replies: 13
Views: 5327

Re: Where to find gtBasic emulator

I compiled successfuly on unbuntu ! Good job! But I have some issues : - the keyboard does not respond correctly, I can move left/right/up/down but I can not validate. If I want to enter in a menu item I need to switch keyboard mode to PS2 where each key act as the validate button ; Press CTRL + H ...
by at67
07 Apr 2021, 22:47
Forum: Hardware and software hacking
Topic: Where to find gtBasic emulator
Replies: 13
Views: 5327

Re: Where to find gtBasic emulator

I'm looking for the emulator like the one already existing for the basic (https://gigatron.io/emu/) There is no online package for gtBASIC, it's a standalone application/executable built on Windows, Linux, MacOS or RPiOS. But if there is no one online I'll try to build my own on W10. If I fail I kn...
by at67
07 Apr 2021, 08:45
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 95
Views: 53812

Re: New vCPU instructions 2.0

I am afraid that SETIP creates additional state. Whenever you jump to a label, you need to make sure you have the right page selected. In practice this means that every jump must be accompanied by a SETIP (or every label must be followed by a SETIP). The 65816 had states that affected whether instr...
by at67
07 Apr 2021, 06:32
Forum: Kit assembly gallery
Topic: New Gigatron with 128K expansion. Boots from SD!
Replies: 16
Views: 16729

Re: New Gigatron with 128K expansion. Boots from SD!

Mine arrived today, much appreciated Leon!

Now I am going to have to find some time to add all of it's capabilities to the emulator/assembler/compiler, maybe with some help from Leon? :twisted:
exp_card.jpg
exp_card.jpg (299.25 KiB) Viewed 8295 times
by at67
06 Apr 2021, 15:17
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 95
Views: 53812

Re: New vCPU instructions 2.0

Here is an idea that you might like. I think this one is useful: This also very cool, and if I understand it correctly it will produce instruction streams similar to this: ;page 3 instructions p3:i(0) p3:i(1) p3:i(2) ;page 4 instructions PREFIX 0x04 p4:i(0) PREFIX 0x04 p4:i(1) ;page 5 instructions ...
by at67
06 Apr 2021, 07:42
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 95
Views: 53812

Re: New vCPU instructions 2.0

Here is an amusing idea. Make CMPWS instruction be represented by a three byte sequence, XX B8 DD, where XX=lo('CMPWS') and B8=lo('SUBW'). Note that it is probably not work breaking backward compatiblity. After all 1F DD B8 DD already works. That is actually a very cool way of producing extra instr...