| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 202 online users. » 0 Member(s) | 200 Guest(s) Baidu, Google
|
| Latest Threads |
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
Yesterday, 11:52 AM
» Replies: 7
» Views: 140
|
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 109
|
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 160
|
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 92
|
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 217
|
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 383
|
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: zedex82
2025-10-05, 07:36 PM
» Replies: 2
» Views: 280
|
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 273
|
ZX Basic Studio Bugs
Forum: Bug Reports
Last Post: Duefectu
2025-09-23, 04:07 PM
» Replies: 5
» Views: 1,083
|
Printing with FZX
Forum: Help & Support
Last Post: boriel
2025-07-17, 10:08 PM
» Replies: 1
» Views: 1,965
|
|
|
| Window Scroll Up |
|
Posted by: britlion - 2011-12-07, 08:20 PM - Forum: How-To & Tutorials
- No Replies
|
 |
For what it's worth, I added a window up scroll routine to the library. Allows text areas to be scrolled up as they fill up, without messing up other areas of the screen.
<!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:WindowScrollUp">http://www.boriel.com/wiki/en/index.php ... owScrollUp</a><!-- m -->
|
|
|
| Random Numbers |
|
Posted by: britlion - 2011-12-07, 02:46 PM - Forum: Help & Support
- Replies (7)
|
 |
Boriel, I know the compiler's pseudorandom number generator is better than the one in the ROM.
Seen this:
<!-- m --><a class="postlink" href="http://www.worldofspectrum.org/forums/showthread.php?t=23070">http://www.worldofspectrum.org/forums/s ... hp?t=23070</a><!-- m -->
?
If it's smaller, faster or better, you might want to consider 
For posterity, an 8 bit result with 32 bit seed that passes diehard test for 32 bit entropy:
Code: rnd ld hl,0xA280 ; xz -> yw
ld de,0xC0DE ; yw -> zt
ld (rnd+1),de ; x = y, z = w
ld a,e ; w = w ^ ( w << 3 )
add a,a
add a,a
add a,a
xor e
ld e,a
ld a,h ; t = x ^ (x << 1)
add a,a
xor h
ld d,a
rra ; t = t ^ (t >> 1) ^ w
xor d
xor e
ld h,l ; y = z
ld l,a ; w = t
ld (rnd+4),hl
ret
|
|
|
| How to read print flags? |
|
Posted by: britlion - 2011-12-07, 12:03 PM - Forum: Help & Support
- No Replies
|
 |
Anyone got a reference for how to read current ink, paper bright flash and inverse from pflags?
How about bold and italics - where can I find the current status of those?
|
|
|
| Function Overloading |
|
Posted by: britlion - 2011-12-02, 04:02 PM - Forum: Wishlist
- Replies (3)
|
 |
It would be nice if overloading was supported - functions and subroutines of the same name with different parameters.
For example:
change(ubyte ink, ubyte paper) could change the attributes for the whole screen to a specific ink/paper value without clearing it.
change() sets them to the current permanent colours...
change (ubyte ink, ubyte paper, ubyte start_row, ubyte end_row) could change just part of the screen...
And so on and so forth.
|
|
|
| Librarys corrections to do |
|
Posted by: LCD - 2011-11-18, 12:31 AM - Forum: Documentation
- Replies (2)
|
 |
Hi Boriel, I currently make the ZXBC library helper for BorIDE and found some errors:
LCase.bas
Quote:----------------------------------------------------------------
' function LCase(s as String)
'
' Parameters:
' s: Input String
'
' Returns:
' A copy of S converted to UpperCase
' ----------------------------------------------------------------
It should be:
Quote:' Returns:
' A copy of S converted to LowerCase
Next what I do not understand: in Key Library you wrote about scancodes such as:
Quote:SC_ENTER or SC_SPACE
But the key definitions are more like:
Quote:KEYENTER or KEYSPACE
Other:
In the Scroll Lib the SUB for scrolling up and down is named in both cases ScrollLeft. And it is written scrolling by pyxel, which is wrong and should be called pixel (PIcture ELement).
Writing Docs for the Fourspriter will be a pain... But also the core commands await me.
FIY: I changed the help system. Now it can display a HTML-Page, which includes a newly designed BorIDE Logo and styled text.
|
|
|
| speed of compilation |
|
Posted by: slenkar - 2011-11-10, 04:11 PM - Forum: Core
- Replies (17)
|
 |
do you think the compilation of speccy games would go faster if the compiler was written in a faster language like java?
btw yacc is available in java
|
|
|
| Wiki Edition Login required |
|
Posted by: boriel - 2011-11-09, 03:42 PM - Forum: ZX Basic Compiler
- No Replies
|
 |
From now on, and to avoid massive Spam in the Wiki, users must login into the wiki system using their User+Passwd of this forum.
Only editors can login (the Wiki es open and public readable already). If you want to update the wiki and cannot login, please, ask me for permissions! :roll:
|
|
|
|