Emulator r40 Released

Announcements by the development team or forum staff.
Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

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

Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

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

User avatar
svenvandevelde
Posts: 488
Joined: Wed Dec 23, 2020 6:30 am
Location: Belgium, Antwerpen

Emulator r40 Released

Post 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

KICKC home page by Jesper Gravgaard.
My KICKC alpha with Commander X16 extensions.
Ed Minchau
Posts: 503
Joined: Sat Jul 11, 2020 3:30 pm

Emulator r40 Released

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

Stefan
Posts: 456
Joined: Thu Aug 20, 2020 8:59 am

Emulator r40 Released

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

Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

Post 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. ?

Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

Post 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

User avatar
svenvandevelde
Posts: 488
Joined: Wed Dec 23, 2020 6:30 am
Location: Belgium, Antwerpen

Emulator r40 Released

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

KICKC home page by Jesper Gravgaard.
My KICKC alpha with Commander X16 extensions.
User avatar
desertfish
Posts: 1098
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Emulator r40 Released

Post by desertfish »


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

Edmond D
Posts: 489
Joined: Thu Aug 19, 2021 1:42 am

Emulator r40 Released

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

Post Reply