Page 2 of 5

Emulator r40 Released

Posted: Fri Apr 29, 2022 5:08 pm
by svenvandevelde

Congratulations with the R40 release!

Happy to see that the errors with the files and the mouse i had to report earlier have been resolved.

I will flag these as resolved and close the open ticket on github.

Have a look below, this is running on the CX16 R40 emulator (wip):





Note that there seems to be an issue with the -prg parameter of the emulator, but i need to investigate it further.

When I open up the emulator using the -prg option, i get this:

image.png.2f18449f9a573deb76a478861bec493c.png


Emulator r40 Released

Posted: Fri Apr 29, 2022 5:54 pm
by Stefan

It returned:

zsh: bad CPU type in executable: ./x16emu

Never seen that error, and don't really know what it means.

Bad CPU type => Build target something else than the Intel Core i5 processor I have. Yes I know it's old ?


Emulator r40 Released

Posted: Fri Apr 29, 2022 6:22 pm
by desertfish


On 4/29/2022 at 7:05 PM, kelli217 said:




The RTC is working but the TI$ and DA$ hooks into the RTC are still a work in progress, eh?



Nope, TI$ and DA$ work fine already.  Launch the emulator with -rtc option.


Emulator r40 Released

Posted: Fri Apr 29, 2022 6:52 pm
by Jestin


On 4/29/2022 at 10:38 AM, Michael Steil said:




In the emulator, loading from SD card is very close to the speed on actual hardware. Loading from the host fs is faster, but since r40 at least not instantaneous.



Oh yeah, I can really see the difference.  One of these is running from the filesystem, the other from an SD card image.  Definitely going to have to pre-load some loading screens into banked ram.
sd.gif
filesystem.gif

Emulator r40 Released

Posted: Fri Apr 29, 2022 8:15 pm
by Michael Steil


On 4/29/2022 at 7:54 PM, Stefan said:




zsh: bad CPU type in executable: ./x16emu



Sorry, I built for ARM instead of Intel! ?

Try this one: http://pagetable.com/docs/tmp/x16emu_mac_TEST_CATALINA-2.zip


Emulator r40 Released

Posted: Fri Apr 29, 2022 8:47 pm
by Stefan


On 4/29/2022 at 11:15 PM, Michael Steil said:




Sorry, I built for ARM instead of Intel! ?



Try this one: http://pagetable.com/docs/tmp/x16emu_mac_TEST_CATALINA-2.zip



That version runs on my Mac.

Great work with the Kernal, by the way!


Emulator r40 Released

Posted: Fri Apr 29, 2022 9:25 pm
by TomXP411


On 4/29/2022 at 1:15 PM, Michael Steil said:




Sorry, I built for ARM instead of Intel! ?



Try this one: http://pagetable.com/docs/tmp/x16emu_mac_TEST_CATALINA-2.zip



 


On 4/29/2022 at 1:47 PM, Stefan said:




That version runs on my Mac.



Great work with the Kernal, by the way!



This begs the question... does there need to be a separate binary for Intel and Arm Macs? Or can your compiler produce a universal binary? (That was definitely a thing when Apple was transitioning from PPC to Intel.) 

 


Emulator r40 Released

Posted: Fri Apr 29, 2022 10:00 pm
by Trax81

Emulator r40 Released

Posted: Fri Apr 29, 2022 10:14 pm
by kelli217


On 4/29/2022 at 1:22 PM, desertfish said:




Nope, TI$ and DA$ work fine already.  Launch the emulator with -rtc option.



Well, I guess I should have read the docs more thoroughly. ? 


Emulator r40 Released

Posted: Sat Apr 30, 2022 5:32 am
by Michael Steil


On 4/29/2022 at 7:08 PM, svenvandevelde said:




When I open up the emulator using the -prg option, i get this:



image.png.2f18449f9a573deb76a478861bec493c.png



This would happen if the file you are passing as an argument does not have a PRG header but starts with $00 $00. Otherwise, please file an issue.