| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 270
» Latest member: Exile
» Forum threads: 1,083
» Forum posts: 6,474
Full Statistics
|
| Online Users |
There are currently 66 online users. » 0 Member(s) | 64 Guest(s) Applebot, Bing
|
| Latest Threads |
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 867
|
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 425
|
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 457
|
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 267
|
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 517
|
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 640
|
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: zedex82
2025-10-05, 07:36 PM
» Replies: 2
» Views: 515
|
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 494
|
ZX Basic Studio Bugs
Forum: Bug Reports
Last Post: Duefectu
2025-09-23, 04:07 PM
» Replies: 5
» Views: 1,422
|
Printing with FZX
Forum: Help & Support
Last Post: boriel
2025-07-17, 10:08 PM
» Replies: 1
» Views: 2,101
|
|
|
| sgn fails if the argument is a variable |
|
Posted by: britlion - 2017-04-08, 05:18 PM - Forum: Bug Reports
- Replies (2)
|
 |
zxb version 1.4.0-s1980
Code: dim y as uByte=1
print sgn y
print sgn 2
This wont compile. sgn <number> is fine. sgn variable isn't.
Code: Traceback (most recent call last):
File "zxb.py", line 348, in <module>
File "zxb.py", line 274, in main
File "ast_\ast.pyc", line 34, in visit
File "arch\zx48k\translator.pyc", line 340, in visit_UNARY
api.errors.InvalidOperatorError: Invalid operator "SGN"
Build Failed!
Definitely a regression, as it worked fine with an older compiler!
|
|
|
| Help understand where things end up in memory |
|
Posted by: emook - 2017-03-12, 06:02 PM - Forum: Help & Support
- Replies (4)
|
 |
Hello,
I've been using ZXBC for some projects I am doing, one of the things is that I working with very limited memory. I'm writing my code to start at 25000.
When I am doing an ASM include no matter where in the code I place it, there is still ZXBC code after.
If I place all my inlcudes at the end of my program, they still appear around 40-50 bytes in. I need to be able to tag the includes on at the end of the file, not in the middle as once I have moved them to another located they can be discarded but with ZXBC code appear AFTER the includes it means I keep running into trouble.
I know about ORG in ASM but I'd rather ZXBC obey me when I have a include as the last lines to see in memory that it also appears at the end of the code.
Any ideas?
|
|
|
| Space Ship |
|
Posted by: symbolshift - 2017-03-02, 10:51 AM - Forum: Gallery
- No Replies
|
 |
A friend of mine is a graphic artist in the C64 demo scene from the Level64 group. Some weeks ago he wanted to experiment with ZX screen graphics and did this wonderful screen linked below. I added some small animation for the copkit with Boriel basic.
<!-- m --><a class="postlink" href="http://level64andmore.blogspot.com.es/2017/01/no-solo-de-commodore-64-vive-el-hombre.html">http://level64andmore.blogspot.com.es/2 ... ombre.html</a><!-- m -->
|
|
|
|