Search found 63 matches
- Mon Mar 18, 2024 2:53 pm
- Forum: ZX BASIC
- Topic: Strange integer behaviour
- Replies: 11
- Views: 557
Re: Strange integer behaviour
Sort of like the calculators of the day.
- Mon Mar 18, 2024 1:36 pm
- Forum: ZX BASIC
- Topic: Strange integer behaviour
- Replies: 11
- Views: 557
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.
- Mon Mar 18, 2024 12:17 am
- Forum: ZX BASIC
- Topic: Strange integer behaviour
- Replies: 11
- Views: 557
Re: Strange integer behaviour
The ZX81 is only capable of precision to 8 digits. Thus, the rounding.
- Sun Mar 17, 2024 5:23 pm
- Forum: ZX BASIC
- Topic: The PAUSE Bug Explained
- Replies: 1
- Views: 192
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-...
- Wed Mar 13, 2024 5:51 pm
- Forum: ZX BASIC
- Topic: List Remedy
- Replies: 4
- Views: 4511
Re: List Remedy
A few final tweaks before moving on to something else.
The project is also available on GitHub.
The project is also available on GitHub.
- Wed Mar 13, 2024 2:29 am
- Forum: ZX BASIC
- Topic: List Remedy
- Replies: 4
- Views: 4511
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.
I've also included the source.
- Tue Mar 12, 2024 4:19 pm
- Forum: ZX BASIC
- Topic: 7Eh near end of REM
- Replies: 4
- Views: 224
Re: 7Eh near end of REM
I did find something on this topic in this ancient post.
- Tue Mar 12, 2024 1:09 pm
- Forum: ZX BASIC
- Topic: 7Eh near end of REM
- Replies: 4
- Views: 224
Re: 7Eh near end of REM
The point is the behavior of the BASIC lister. For small MC routines mixed with BASIC there may be lots of editing of lines after the REM. I also observed the crash at times when editing the BASIC line after REM. The behavior is undefined and care must be taken when working with mixed code. I actual...
- Tue Mar 12, 2024 6:25 am
- Forum: ZX BASIC
- Topic: 7Eh near end of REM
- Replies: 4
- Views: 224
7Eh near end of REM
Forgive me if this has already been addressed, but I encountered a strange issue while trying to list my combo MC and BASIC program. The line after the REM (line 5 in my code) was either buried at the end of the REM or displayed with no line number (see picture), although the program ran correctly. ...
- Thu Mar 07, 2024 8:28 pm
- Forum: Development
- Topic: ZX81, Alternate Register Pair HL' Used By System?
- Replies: 9
- Views: 2403
Re: ZX81, Alternate Register Pair HL' Used By System?
I think it interesting that this detail is conspicuously missing from the ZX81 User Manual, especially when it addresses which registers not to mess with. It doesn't seem like such a minor detail to me.