| 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 61 online users. » 0 Member(s) | 60 Guest(s) Bing
|
| Latest Threads |
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 869
|
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: 458
|
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: 519
|
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 641
|
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: zedex82
2025-10-05, 07:36 PM
» Replies: 2
» Views: 516
|
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 495
|
ZX Basic Studio Bugs
Forum: Bug Reports
Last Post: Duefectu
2025-09-23, 04:07 PM
» Replies: 5
» Views: 1,423
|
Printing with FZX
Forum: Help & Support
Last Post: boriel
2025-07-17, 10:08 PM
» Replies: 1
» Views: 2,102
|
|
|
| Joystick Library |
|
Posted by: wilco2009 - 2013-02-08, 10:12 PM - Forum: Gallery
- Replies (2)
|
 |
Attached is included my joystick library to manage the joystick
Basically includes constants and macros to keep the same speed access that reading directly the keyboard ports.
The file keyboard.bas is a interface library to manage the keyboard.
Keyboard.bas is used by joystick.bas. It includes all the functions to manage the access to the joystick, The structure of joystick.bas as the following:
- Keyboard (OPQA/Enter), Kempston, Sinclair (Two players) and Cursor Joystick are supported.
- The active joystick is stored internally in the CtrlSelected variable and includes two functions to access it (SelectControl/GetSelectedControl).
- The other functions lets read the state of all joystick buttons.
- In order to let control two players (Sinclair case), are included in all functions a parameter called "played" with possible values PLAYER1/PLAYER2 (0/1).
- The Sinclair right player is used for player 2.
<!-- m --><a class="postlink" href="https://docs.google.com/folder/d/0B69T2laxW_ueenc4SmJBTzFEeEU/edit?usp=sharing">https://docs.google.com/folder/d/0B69T2 ... sp=sharing</a><!-- m -->
|
|
|
| Stack |
|
Posted by: na_th_an - 2013-02-08, 11:35 AM - Forum: How-To & Tutorials
- Replies (1)
|
 |
Maybe this has been solved before, but I can't search for "stack" in the forum 'cause the search engine tells me it's a very common word so it won't be included in the search XD
Were the stack is located? Can I control where it is located without messing things up?
I'm asking this 'cause I'll be trying using extra RAM pages in 128K models for storage.
|
|
|
| fourspriter error with -O 2 option |
|
Posted by: jevilon - 2013-02-07, 09:25 PM - Forum: Bug Reports
- Replies (6)
|
 |
When I try to build my game, using fourspriter 2.1, if you compile normal works, but if I put optimization level 2 or level 3 gives me the error:
main.bas: 5526: error: Undefined label '__LABEL__fsp21DataPool'
Na_th_an I asked and he said that you mentioned it to you.
greetings
|
|
|
| My binary occupies the same reducing the HEAP |
|
Posted by: jevilon - 2013-02-06, 09:48 PM - Forum: Help & Support
- Replies (5)
|
 |
First, apologize if this topic has been discussed, but I do not speak good English and I can not find either.
My "problem" is that although HEAP reduce to 512, the binary I still occupies the same is not supposed to reduce the size and leaves you more space for the program?
Lo primero, pedir disculpas si este tema se ha tratado, pero no hablo bien ingles y no puedo buscar bien.
Mi "Problema" es que aunque reduzca el HEAP a 512, el binario me sigue ocupando lo mismo ¿no se supone que reduce el tamaño y te deja mas espacio para el programa?
|
|
|
|