Search found 67 matches

by stroebeljc
Tue Apr 09, 2024 5:57 pm
Forum: Development
Topic: Why Does The Border Have to Be White?
Replies: 4
Views: 590

Re: Why Does The Border Have to Be White?

I did a bit more work on this, but still have some white bars at the top and bottom on the 60Hz build. The problem is that eliminating the white bars slows gameplay too much. So, here is where I've ended up.
50Hz
New 50Hz.png
New 50Hz.png (3.84 KiB) Viewed 148 times
60Hz
New 60Hz.png
New 60Hz.png (3.33 KiB) Viewed 148 times
by stroebeljc
Fri Apr 05, 2024 11:32 pm
Forum: Development
Topic: Why Does The Border Have to Be White?
Replies: 4
Views: 590

Re: Why Does The Border Have to Be White?

Here is a 60Hz version for those, like me, afflicted with NTSC, including source code (compiled using TASM with NTSC defined). I'm stuck with a white line at the top because of how little processing time is left over for gameplay. Any ideas on how to remove it, if possible?
60Hz.png
60Hz.png (3.81 KiB) Viewed 273 times
by stroebeljc
Sat Mar 30, 2024 3:32 pm
Forum: ZX BASIC
Topic: Tricks in BASIC
Replies: 57
Views: 115554

Re: Tricks in BASIC

I love your suggestions, XavSnap.
You're such a trickster! :twisted:
by stroebeljc
Sat Mar 30, 2024 3:18 pm
Forum: ZX BASIC
Topic: Tricks in BASIC
Replies: 57
Views: 115554

Re: Tricks in BASIC

Hi, In BASIC, after a FAST/SLOW process, an unsightly scrolling can occur when exiting the FAST mode. To avoid this dropout of the screen frame, just add a PAUSE before the SLOW commande: 10 FAST (... your code..) 1000 PAUSE 0 1010 SLOW Have fun. ...and don't forget to add this line if running on f...
by stroebeljc
Mon Mar 18, 2024 2:53 pm
Forum: ZX BASIC
Topic: Strange integer behaviour
Replies: 11
Views: 760

Re: Strange integer behaviour

Sort of like the calculators of the day.
calc_2.jpg
by stroebeljc
Mon Mar 18, 2024 1:36 pm
Forum: ZX BASIC
Topic: Strange integer behaviour
Replies: 11
Views: 760

Re: Strange integer behaviour

Internally accurate down to 1/(2^32) ~= 0.0000000002328306437. So, yes, 9 to 10 digits. 32/log2(10)=9.63, to be more precise.
by stroebeljc
Mon Mar 18, 2024 12:17 am
Forum: ZX BASIC
Topic: Strange integer behaviour
Replies: 11
Views: 760

Re: Strange integer behaviour

The ZX81 is only capable of precision to 8 digits. Thus, the rounding.
by stroebeljc
Sun Mar 17, 2024 5:23 pm
Forum: ZX BASIC
Topic: The PAUSE Bug Explained
Replies: 1
Views: 251

The PAUSE Bug Explained

The ZX81 "PAUSE bug" Explained After trying to understand the exact nature of the ZX81 ROM PAUSE bug, I decided to write down the observed behavior for anyone interested. I'm sure there are details that others on this forum could add or correct, and I hope this thread can pull them out to be a one-...
by stroebeljc
Wed Mar 13, 2024 5:51 pm
Forum: ZX BASIC
Topic: List Remedy
Replies: 4
Views: 4610

Re: List Remedy

A few final tweaks before moving on to something else. ;)
The project is also available on GitHub.
by stroebeljc
Wed Mar 13, 2024 2:29 am
Forum: ZX BASIC
Topic: List Remedy
Replies: 4
Views: 4610

Re: List Remedy

I know this thread is a decade old, but I found it interesting and also found issues with the tool. I've attached an update that allows the display of lines greater than 255 bytes, isn't fooled by 7Eh's in REM statements, and works in either fast or slow mode.
I've also included the source.