Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 259
» Latest member: DonaldDeade
» Forum threads: 1,074
» Forum posts: 6,434

Full Statistics

Online Users
There are currently 160 online users.
» 0 Member(s) | 159 Guest(s)
Bing

Latest Threads
.tap file code not execut...
Forum: Help & Support
Last Post: Zoran
04-28-2025, 10:59 AM
» Replies: 4
» Views: 321
Exit from more than one l...
Forum: Wishlist
Last Post: Duefectu
04-23-2025, 10:06 PM
» Replies: 3
» Views: 300
put small ASM programs li...
Forum: How-To & Tutorials
Last Post: Zoran
04-18-2025, 02:02 PM
» Replies: 6
» Views: 1,600
Creating +3 Menus - Loadi...
Forum: Help & Support
Last Post: merlinkv
04-16-2025, 02:08 PM
» Replies: 6
» Views: 555
Randomize not very random...
Forum: Help & Support
Last Post: Zoran
04-08-2025, 10:40 AM
» Replies: 4
» Views: 893
Scope rules
Forum: Bug Reports
Last Post: Zoran
04-04-2025, 09:46 AM
» Replies: 2
» Views: 330
Using constants not allow...
Forum: Bug Reports
Last Post: baltasarq
03-19-2025, 10:00 PM
» Replies: 8
» Views: 1,066
404 page not found
Forum: Documentation
Last Post: boriel
03-08-2025, 07:16 PM
» Replies: 5
» Views: 2,887
Spectrum keywords codes
Forum: Bug Reports
Last Post: boriel
03-08-2025, 11:00 AM
» Replies: 1
» Views: 419
ZXodus][Engine
Forum: ZX Basic Compiler
Last Post: boriel
02-19-2025, 11:43 PM
» Replies: 69
» Views: 213,809

 
  PRINTAT64(0,0) not working on zxbasic-1.4.0s1995 (*solved*)
Posted by: Luzie - 04-23-2017, 01:11 AM - Forum: Bug Reports - Replies (16)

Hi,

i try this on zxbasic-1.4.0s1995:

Code:
PAPER 7
INK 0
BORDER 7
CLS

BORDER 1

#include <print64.bas>

LOP:
PRINTAT64(0,0)
PRINT64("Test1234")
GOTO LOP
But this prints "Test1234Test1234Test1234" and so on and not just in the upper right corner?

Print this item

  sgn fails if the argument is a variable
Posted by: britlion - 04-08-2017, 04: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!

Print this item

  Help understand where things end up in memory
Posted by: emook - 03-12-2017, 05: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?

Print this item

  some c# help
Posted by: ardentcrest - 03-10-2017, 09:46 AM - Forum: Off-Topic - No Replies

Hay Mr B.

I dont know if you can. could you take a look at the C# code here and tell me what I need to change to make the max cities so you can have more then 100

Tanks Ardentcrest

https://storage.googleapis.com/google-co...1_11_2.zip

Print this item

  [vg5000] first test
Posted by: nitrofurano - 03-08-2017, 07:28 PM - Forum: Other Archs - Replies (4)

first test for Philips/Radiola VG5000 (i still don’t know how the video processor works)
( the wiki page related to this thread is at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_VG5000#first_test">http://www.boriel.com/wiki/en/index.php ... first_test</a><!-- m --> )



Attached Files
.zip   example01f7a.zip (Size: 44.47 KB / Downloads: 900)
Print this item

  [ballyastrocade] first test
Posted by: nitrofurano - 03-04-2017, 11:00 AM - Forum: Other Archs - Replies (1)

first test for Bally Astrocade game console
( the wiki page related to this thread is at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_BallyAstrocade">http://www.boriel.com/wiki/en/index.php ... yAstrocade</a><!-- m --> )



Attached Files
.zip   example01d_improving.zip (Size: 21.69 KB / Downloads: 756)
Print this item

  Space Ship
Posted by: symbolshift - 03-02-2017, 09: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 -->

Print this item

  [sordm5] first test
Posted by: nitrofurano - 02-28-2017, 03:18 PM - Forum: Other Archs - No Replies

first test for Sord M5 (testing the keyboard for now)
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_SordM5#keyboard_test">http://www.boriel.com/wiki/en/index.php ... board_test</a><!-- m --> )



Attached Files
.zip   example01b_startingtowork.zip (Size: 22.35 KB / Downloads: 795)
Print this item

  [rx78] first test
Posted by: nitrofurano - 02-26-2017, 11:00 PM - Forum: Other Archs - Replies (2)

first test for Bandai’s RX-78
( the wiki page related to this thread is at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_RX78#first_test">http://www.boriel.com/wiki/en/index.php ... first_test</a><!-- m --> )



Attached Files
.zip   example01f.zip (Size: 17.07 KB / Downloads: 835)
Print this item

  [trs80model1] slideshow
Posted by: nitrofurano - 02-20-2017, 02:01 PM - Forum: Other Archs - No Replies

just a simple slideshow for TRS-80 Model 1 (as seen at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_TRS-80#slideshow">http://www.boriel.com/wiki/en/index.php ... #slideshow</a><!-- m --> )



Attached Files
.zip   example01f_slideshow.zip (Size: 39.41 KB / Downloads: 827)
Print this item