Search found 29 matches

by Slevin
Wed Mar 27, 2024 4:34 am
Forum: Programming
Topic: Scrolling in Emulator Stutters every 2 Seconds
Replies: 5
Views: 1076

Re: Scrolling in Emulator Stutters every 2 Seconds

Thanks TomXP411, it's nothing that has to be done at all, it's just something I've encountered and therefore I want to be sure that this is not a problem with the code but with the current emulating software/hardware chain. It looks like a jitter/hickup, similar to a source vs. player framerate miss...
by Slevin
Tue Mar 26, 2024 6:53 pm
Forum: Programming
Topic: Scrolling in Emulator Stutters every 2 Seconds
Replies: 5
Views: 1076

Re: Scrolling in Emulator Stutters every 2 Seconds

Well, doesn't make any difference when running in fullscreen. My CPU takes about 7~8% to run the emulator, the machine should handle it just fine. However, as long as you say that Matt's code is ok running on the current emulator it might be an issue on my side somehow, which I for now can't resolve...
by Slevin
Tue Mar 26, 2024 7:40 am
Forum: Programming
Topic: Scrolling in Emulator Stutters every 2 Seconds
Replies: 5
Views: 1076

Scrolling in Emulator Stutters every 2 Seconds

I've implemented Matt's Tiles demonstration . The goal is to get an infinite horizontal scroll behavior. Unfortunately, running this code in the official emulator results in frame stuttering round about every 2 seconds. Can it be, that the emulator is responsible for this issue? Maybe the emulator's...
by Slevin
Tue Mar 26, 2024 4:18 am
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4658

Re: Are there integer numbers in the basic of x16 please?

CBM has the exponent first, followed by the sign and mantissa. CBM Float Exponent S Mantissa 0111 1111 0 0000 0000 0000 0000 0000 0000 0000 000 IEEE-754 Float S Exponent Mantissa 1 0111 1111 0000 0000 0000 0000 0000 000 Some examples: 2.0 = 1.0 * 2 3.0 = 1.5 * 2 5.0 = 1.25 * 4 2024 = 1.9765625 * 10...
by Slevin
Mon Mar 25, 2024 2:25 pm
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4658

Re: Are there integer numbers in the basic of x16 please?

Aha, another day I've learned something new, many thanks.

Slowly but surely I'm becoming omniscient. I can hardly wait...
by Slevin
Mon Mar 25, 2024 2:11 pm
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4658

Re: Are there integer numbers in the basic of x16 please?

Floats take 5 bytes per element. Is this a proprietary floating point representation, or is the 5th byte reserved for some kind of meta data? At least according to the birth date of the IEEE 754 standard I assume that it must be proprietary in some kind, but 5 byte must have a requirement. Can some...
by Slevin
Sat Mar 23, 2024 11:43 pm
Forum: Programming
Topic: Where to find current VRAM layout?
Replies: 55
Views: 9026

Re: Where to find current VRAM layout?

Grazy Lander's is good. They are all good, especially in the meaning of having something to rely on when new adventurers get starting to code for the X16. It is really great to have working games which one can debug and use to dive in, whether coded in BASIC, ASM or even C. Any code helps, and havi...
by Slevin
Fri Mar 22, 2024 8:15 pm
Forum: Programming
Topic: Where to find current VRAM layout?
Replies: 55
Views: 9026

Re: Where to find current VRAM layout?

Thank you very much, hstubbs3. All these insights are very helpful. I really appreciate your help to help us helpless getting a better understanding of how the VERA works and what one can do with it. I stumbled across a YT video which I'm half through and which also helped to make things a bit more ...
by Slevin
Fri Mar 22, 2024 12:18 am
Forum: Programming
Topic: Where to find current VRAM layout?
Replies: 55
Views: 9026

Re: Where to find current VRAM layout?

Yeah, for a non gaming programmer there are multiple topics to cover at once. And on top of all of this, it's done through retro coding with limited resources, 8bit registers, banking, and to complicate things even more: using a proprietary self developed graphic unit replacement called VERA :). Don...
by Slevin
Thu Mar 21, 2024 11:59 pm
Forum: Programming
Topic: Where to find current VRAM layout?
Replies: 55
Views: 9026

Re: Where to find current VRAM layout?

Ah, so that's the first time I read this, that Layer 0 is the graphics layer and Layer 1 is dedicated for displaying text. I thought both of these layer could be used to display graphic maps as described by SlithyMatt here: https://youtu.be/Wn8-unoaWSc?list=PLPSrOWYluVLIJ1n-TsVb-BESL1tkSTRI_&t=1...