The following warnings occurred:
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval




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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 274
» Latest member: zxspecticle
» Forum threads: 1,086
» Forum posts: 6,487

Full Statistics

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

Latest Threads
New video Couse / Nuevo c...
Forum: News
Last Post: Duefectu
2026-04-29, 11:02 PM
» Replies: 0
» Views: 214
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 486
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 1,302
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: Duefectu
2026-02-09, 01:52 PM
» Replies: 3
» Views: 1,392
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 2,080
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 1,081
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 1,180
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 630
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 1,218
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 1,382

 
  @ addresses "not constant" (*solved*)
Posted by: britlion - 2013-01-04, 07:29 PM - Forum: Bug Reports - Replies (4)

Code:
DIM MapPtr as uInteger = @Map

This comes back with Initializer expression is not constant.

And it is - shouldn't this expression work?

It works if the following line is MapPtr=@Map as a let.

Print this item

  LD reg, LABEL/256
Posted by: britlion - 2013-01-02, 01:59 AM - Forum: Bug Reports - Replies (1)

Bit baffled here.

The attached code twice uses

LD H, ScreenTable/256

Once it loads H with the correct value. Once (the one that it disables interrupts and halts after) points somewhere else?



Attached Files
.zip   AShadowOfReality.zip (Size: 17.16 KB / Downloads: 1,247)
Print this item

  THE HOBBIT (GRAPHIC ADVENTURE)
Posted by: wilco2009 - 2012-12-26, 02:25 PM - Forum: Gallery - Replies (6)

I just finished my first Spectrum Game.
It also participates in Radastan's contest "El Hobbit".
I have used fourspriter library from na_th_an.
I tried to make a graphical adventure not an arcade game.
Here you can find a link to the game in Radastan's contest:

<!-- m --><a class="postlink" href="http://www.bytemaniacos.com/?page_id=127">http://www.bytemaniacos.com/?page_id=127</a><!-- m -->

There you can find the Spanish version, but now I have translated the game and the instructions in English. In the zip file you can find English and Spanish version in tap format, and a pdf with instructions in Spanish and English:

https://docs.google.com/open?id=0B69T2la...W5xZUxIM3c

[Image: hobbit_2.png]
[Image: hobbit.png]

I hope you like!

Print this item

  Happy Christmas 2012
Posted by: britlion - 2012-12-25, 01:49 AM - Forum: Off-Topic - Replies (2)

Happy Christmas to one and all Smile

Print this item

  debug information
Posted by: wilco2009 - 2012-12-19, 12:42 AM - Forum: Help & Support - Replies (6)

It is possible to debug a zxbasic program in any emulator but at BASIC level (not assembler) using the debug information generated on compiling time?

Print this item

  Definition of macros in the compiler
Posted by: wilco2009 - 2012-12-19, 12:39 AM - Forum: Wishlist - Replies (2)

Could be a good idea to add the possibility to define macros in the same way than C "define" directive.
That's one of the things I miss when I'm programming in ZXBasic

Print this item

  Var declaration checking
Posted by: wilco2009 - 2012-12-19, 12:34 AM - Forum: Wishlist - Replies (5)

Please, Could be possible to add an command option to require declare all variables.
I think, not declared variables is the source of bugs more difficult to find.
The problem is worse when you consider that BASIC is case sensitive.

Print this item

  Non sense results (or error) working with defm strings
Posted by: wilco2009 - 2012-12-15, 11:48 AM - Forum: Help & Support - Replies (2)

Just to save space, I'm coding some strings in inline Asm sentences, and I found a bug.
If you execute the following code:

Code:
Dim x as byte = 1 Dim y as byte = 5 Dim c as byte textdata: Asm defm " BILBO GUARDO EL TESORO Y EL " db 0 defm " ANILLO POR MUCHO TIEMPO, SIN" db 0 defm " SOSPECHAR SU VERDADERA" db 0 defm "NATURALEZA Y SU TERRIBLE PODER" db 0 defm "HASTA MUCHO TIEMPO DESPUES" db 0 defm "PERO ESO YA ES OTRA HISTORIA.." defb $FF End Asm Border 0: Paper 0: Ink 6: Bright 1: Cls dir = @textdata Do c = Peek dir If c <> 255 Then if c <> 0 Then print at y, x; Chr$(c) x = x 1 Else x = 1 y = y 2 End If dir = dir 1 End If If Inkey$ <> "" Then Exit Do: End If Loop Pause 1000 End Sub
You will not get the expected result. Instead of it, you will get a white screen.
If you delete the lines:
Code:
defm "HASTA MUCHO TIEMPO DESPUES" db 0
Program shows a correct behaviour.

I think the bug have relation with the memory reserved by the asm lines, because deleting or adding lines you get differents errors, sometimes you get an "Out of Memory" message or shows the correct result but paper white instead black.

Print this item

  Incorrect values asigned to an uinteger matrix (*solved*)
Posted by: wilco2009 - 2012-12-15, 10:42 AM - Forum: Bug Reports - Replies (1)

Si se compila el siguiente fragmento de código el resultado es muy diferente del esperado:

Code:
Dim obj(15) as uinteger for i = 0 to 15 obj(i) = 9999 Print Obj(i) nex i

Si ahora consultas el resultado del array de objs, en lugar de contener todos los elementos 9999 contienen el valor 255.

Compiling the following code, the value of the matrix elements is totally diferent to the expected one:
Code:
Dim obj(15) as uinteger for i = 0 to 15 obj(i) = 9999 Print Obj(i) nex i

All the elements of the obj matrix are now 255 instead 999.
Using a intermediate scalar variable the result is correct.

NOTE: Bug fixed in the new version 1.3.0s952

Print this item

  THE HOBBIT
Posted by: JBGV - 2012-12-07, 10:31 PM - Forum: Gallery - Replies (6)

Hello!

I just finished another game, is for the competition of "Bytemaniacos":

http://www.bytemaniacos.com/?page_id=127

Hope you like ! I've had very good programming it.

Print this item