Emulator r39 Released

Announcements by the development team or forum staff.
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Emulator r39 Released

Post by AndyMt »


I wonder what happens to the "try now" feature. Will software be able to specify which emulator version to use or will almost all software in the download section break?

TomXP411
Posts: 1783
Joined: Tue May 19, 2020 8:49 pm

Emulator r39 Released

Post by TomXP411 »



On 3/29/2022 at 11:16 PM, AndyMt said:




I wonder what happens to the "try now" feature. Will software be able to specify which emulator version to use or will almost all software in the download section break?



I'm not sure... for now, Try It Now is R38. I'll see what we can do; we may be able to get separate emulators up for R39 and R39. That's down the road, though, and probably won't get done until summer.

 

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

Emulator r39 Released

Post by rje »


I think sprites are ok -- I can see one, so I assume they're good -- but some address gets jostled around somewhere so that printf, cprintf, and the various .put.() fail.  I'll dig around and look for an old address.

 

 

 

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

Emulator r39 Released

Post by rje »


The problem appears to be with conio -- cprintf(), cputX(), etc.  The stdio outputs work -- printf, puts, etc.

libsrc/cx16 doesn't have its own conio, but it does have its own cputc... which seems to be perfectly fine, no VERA addresses stored there I think.

...and yet, cputc('x') does not output character 'X' to the screen (or anything that I can tell).

 

More interesting, cgetc() appears to hang.

 

 

Since conio does "direct videoram access", it makes sense that an address somewhere might need updating.

 

 

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

Emulator r39 Released

Post by svenvandevelde »








I just recompiled my program and ran on the R39 and i get these strange behaviour. It seems the R39 has more changes internally.

Will try to find the root cause, but does somebody know if the vera character map tiles have been moved from 0:F800 to somewhere else?

KICKC home page by Jesper Gravgaard.
My KICKC alpha with Commander X16 extensions.
SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Emulator r39 Released

Post by SlithyMatt »



On 3/30/2022 at 12:29 PM, svenvandevelde said:




Will try to find the root cause, but does somebody know if the vera character map tiles have been moved from 0:F800 to somewhere else?



They have, to 1:F000

Scott Robison
Posts: 952
Joined: Fri Mar 19, 2021 9:06 pm

Emulator r39 Released

Post by Scott Robison »



On 3/30/2022 at 10:29 AM, svenvandevelde said:












I just recompiled my program and ran on the R39 and i get these strange behaviour. It seems the R39 has more changes internally.



Will try to find the root cause, but does somebody know if the vera character map tiles have been moved from 0:F800 to somewhere else?



VERA's default memory layout changed. It's in the PRG. Or here.

Screenshot_20220330-103326.thumb.png.13657e89ed323b3141e3bed49aad37b0.png

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

Emulator r39 Released

Post by svenvandevelde »



On 3/30/2022 at 6:35 PM, Scott Robison said:




VERA's default memory layout changed. It's in the PRG. Or here.



Screenshot_20220330-103326.thumb.png.13657e89ed323b3141e3bed49aad37b0.png



OMG!!! I have work ?

KICKC home page by Jesper Gravgaard.
My KICKC alpha with Commander X16 extensions.
User avatar
svenvandevelde
Posts: 488
Joined: Wed Dec 23, 2020 6:30 am
Location: Belgium, Antwerpen

Emulator r39 Released

Post by svenvandevelde »


So in my program i moved the characters like this when in R38 the program started:



image.thumb.png.e5bb8b6d9cfd4d29363f3ecfb9e30c69.png

 

In the code the VERA_PETSCII_TILE would have value $F800.

So now with the R39, it seems that the character set has been optimized and i don't need to move anything :-).



It seems that the character map is already at $01:$B000 and the petscii tiles at $01:$F000 !

KICKC home page by Jesper Gravgaard.
My KICKC alpha with Commander X16 extensions.
User avatar
svenvandevelde
Posts: 488
Joined: Wed Dec 23, 2020 6:30 am
Location: Belgium, Antwerpen

Emulator r39 Released

Post by svenvandevelde »


And the interrupt return vector has changed also ?.

Where was that again ... address vector in $0314 ....



let me check ... E040?

image.png.2e6b57f660a637391f258457118e0109.png

I know, i need to make that more dynamic ...

KICKC home page by Jesper Gravgaard.
My KICKC alpha with Commander X16 extensions.
Post Reply