Page 3 of 5

Emulator r40 Released

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


On 4/29/2022 at 11:25 PM, TomXP411 said:




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.) 



The r39 and r40 releases are indeed universal (x86_64 and armv8). It's just the one-off builds I made for @Stefan that were for a single architecture.


Emulator r40 Released

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


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




That version runs on my Mac.



Thanks for testing. I merged the change, so r41 should work on Catalina (and maybe earlier versions) out of the box.


Emulator r40 Released

Posted: Sat Apr 30, 2022 6:23 am
by svenvandevelde


On 4/30/2022 at 7:32 AM, Michael Steil said:




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.



Done, @Michael Steil

R40 x16emu: error when using -prg option, first file on disk read instead of given filename · Issue #398 · commanderx16/x16-emulator (github.com)

I''ve attached a video link that shows the phenomenon.

Because all my other binary files are registered as "PRG" also on the disk.

So what happens is, it tries actually to load a file that contains sprites using the command LOAD ":*",8,1.

Not sure if it is part of the options that if a quick fix is possible, that you remake the emulator binaries?

Maybe an idea is that before release, let a couple of people test it first who have developed already more "complicated" CX16 programs?

So that you can ensure that your release is stable enough before submission. (just an idea).

Sven


Emulator r40 Released

Posted: Sat Apr 30, 2022 6:42 am
by Ed Minchau

There's a new behavior for the Kernel LOAD and SAVE subroutines; they now display the names of every file being loaded or saved on the screen, along with SEARCHING FOR etc as it's loading.  That might be great for a diagnostic, but not for a game or a video.  I can't have it displaying all those messages; is there any way I can turn that behavior off?  We haven't needed it so far.


Emulator r40 Released

Posted: Sat Apr 30, 2022 12:21 pm
by Stefan


On 4/30/2022 at 9:42 AM, Ed Minchau said:




There's a new behavior for the Kernel LOAD and SAVE subroutines; they now display the names of every file being loaded or saved on the screen, along with SEARCHING FOR etc as it's loading.  That might be great for a diagnostic, but not for a game or a video.  I can't have it displaying all those messages; is there any way I can turn that behavior off?  We haven't needed it so far.



The only way I know of to get finer control is to implement your own serial read/write function.

Then LOAD would be replaced by calling these functions:


  • SETNAM


  • SETLFS


  • OPEN


  • CHKIN


  • MACPTR (faster block read) or CHRIN (slower byte read)


  • CLOSE


  • CLRCHN


It is, evidently, more code, but it's not that bad.


Emulator r40 Released

Posted: Sat Apr 30, 2022 1:15 pm
by Michael Steil


On 4/30/2022 at 8:23 AM, svenvandevelde said:




Maybe an idea is that before release, let a couple of people test it first who have developed already more "complicated" CX16 programs?



So that you can ensure that your release is stable enough before submission. (just an idea).



I always post prerelease binaries in the Discord. ?


Emulator r40 Released

Posted: Sat Apr 30, 2022 1:16 pm
by Michael Steil


On 4/30/2022 at 8:42 AM, Ed Minchau said:




There's a new behavior for the Kernel LOAD and SAVE subroutines; they now display the names of every file being loaded or saved on the screen, along with SEARCHING FOR etc as it's loading.  That might be great for a diagnostic, but not for a game or a video.  I can't have it displaying all those messages; is there any way I can turn that behavior off?  We haven't needed it so far.



The SETMSG API does this:

https://www.pagetable.com/c64ref/kernal/#SETMSG


Emulator r40 Released

Posted: Sat Apr 30, 2022 1:23 pm
by svenvandevelde


On 4/30/2022 at 3:15 PM, Michael Steil said:




I always post prerelease binaries in the Discord. ?



I see. I need to install discord then. Ok.


Emulator r40 Released

Posted: Sat Apr 30, 2022 4:35 pm
by desertfish

(Discord also works in your web browser, if you don't want to install a separate application.)


Emulator r40 Released

Posted: Sat Apr 30, 2022 5:23 pm
by Edmond D


On 4/30/2022 at 9:35 AM, desertfish said:




(Discord also works in your web browser, if you don't want to install a separate application.)



Is there a direct URL? I'm not a fan of separate applications.