Page 2 of 7

Emulator r39 Released

Posted: Wed Mar 30, 2022 6:16 am
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?


Emulator r39 Released

Posted: Wed Mar 30, 2022 8:02 am
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.

 


Emulator r39 Released

Posted: Wed Mar 30, 2022 3:22 pm
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.

 

 

 


Emulator r39 Released

Posted: Wed Mar 30, 2022 3:43 pm
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.

 

 


Emulator r39 Released

Posted: Wed Mar 30, 2022 4:29 pm
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?


Emulator r39 Released

Posted: Wed Mar 30, 2022 4:34 pm
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


Emulator r39 Released

Posted: Wed Mar 30, 2022 4:35 pm
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


Emulator r39 Released

Posted: Wed Mar 30, 2022 4:37 pm
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 ?


Emulator r39 Released

Posted: Wed Mar 30, 2022 4:41 pm
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 !


Emulator r39 Released

Posted: Wed Mar 30, 2022 4:44 pm
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 ...