Search found 73 matches
- Fri Jan 24, 2025 12:02 pm
- Forum: Support
- Topic: ESC key on CPC
- Replies: 2
- Views: 130
Re: ESC key on CPC
Hi ervin , nice to read you! :D Is there a way to check the key state of the ESC key on the Amstrad CPC target? You could check for any value that come from SCANCODE , and use it in KEY STATE . Take, for example, this code: DO PRINT SCANCODE LOOP If you run it, it will print a series of 255 (which i...
- Sat Jan 11, 2025 7:02 am
- Forum: Support
- Topic: GLOBAL and SHARED variables
- Replies: 3
- Views: 1318
Re: GLOBAL and SHARED variables
Hi ervin , and welcome! :D undefined variable (OPTION EXPLICIT ON) (a) This error should be correct, since the GLOBAL command allows you to tell ugBASIC to consider a variable as "global" but the instruction neither initializes the variable nor creates it. This means that there is no "...
- Tue Dec 31, 2024 3:26 pm
- Forum: Support
- Topic: DATA read problems... (FIXED!)
- Replies: 5
- Views: 2581
Re: DATA read problems...
Hi Grillomalta , first of all thanks for the feedback! As I explained in the group, the string management space is statically allocated, even if it is dynamically managed. The default value is 1024 (bytes) on Commodore 64, to optimize the space occupied by the strings. You can use the DEFINE STRING ...
- Tue Dec 31, 2024 11:28 am
- Forum: Support
- Topic: DATA read problems... (FIXED!)
- Replies: 5
- Views: 2581
Re: DATA read problems...
Hi Grilllomalta ! Hi, I am slowly using my marbles due to DATA statements being (I think) totally unreliable. Let's take this code... should be easy no? A housekeeping statement in the first line, then declaring the string 'team' as an array of 48 names (0-47... Go through the data, read, and print ...
- Fri Dec 27, 2024 5:28 pm
- Forum: Support
- Topic: How to avoid switching to ug runtime on target?
- Replies: 7
- Views: 4135
Re: How to avoid switching to ug runtime on target?
Hi skr ! Question: Can it be changed, that the command "GRAPHICS 0" translates to what is expected on the real hardware? Or should I figure out how to write a little reusable routine in ugBASIC to do so? In the beta version I just added some of the implementations that make ugBASIC more si...
- Fri Dec 27, 2024 12:47 pm
- Forum: Support
- Topic: How to avoid switching to ug runtime on target?
- Replies: 7
- Views: 4135
Re: How to avoid switching to ug runtime on target?
Thank you very much! That looks like it should. Great! :D Question: Can it be changed, that the command "GRAPHICS 0" translates to what is expected on the real hardware? Or should I figure out how to write a little reusable routine in ugBASIC to do so? If I understand the requirement corr...
- Fri Dec 27, 2024 12:04 pm
- Forum: Support
- Topic: How to avoid switching to ug runtime on target?
- Replies: 7
- Views: 4135
Re: How to avoid switching to ug runtime on target?
Hi skr , and thank you for your feedback! The text screen, Graphics 0 with white text on blue background, pops up but then there´s a black screen with the text printed on it, which seems not to be Graphics 0. I checked again, but it seems to me that it is in ANTIC 2 mode (i.e. in Graphics Mode 0). I...
- Fri Dec 27, 2024 9:49 am
- Forum: Support
- Topic: How to avoid switching to ug runtime on target?
- Replies: 7
- Views: 4135
Re: How to avoid switching to ug runtime on target?
Hi skr , and welcome! :D First of all, thank you very much for your message, and for your intention to deepen ugBASIC , and its IDE! It compiles, opens Altirra (Atari-Emulator) and shows the Atari Graphics 0 (Text) Screen for a moment and then switches to a black screen saying "ugBasic runtime ...
- Sat Oct 19, 2024 8:10 pm
- Forum: Support
- Topic: Issues with a 3D plotting routine
- Replies: 1
- Views: 4782
Re: Issues with a 3D plotting routine
Hi lightbeing , and welcome! :D I need some help as I don't know if I'm doing things wrong or there is an issue with the compiler. First of all I ask you to kindly download the latest COLDFIX released today, which contains a series of fixes on the trigonometric section for MOS 6502 processors, as we...
- Fri Oct 18, 2024 8:24 pm
- Forum: New features
- Topic: Storage access: files or memory?
- Replies: 6
- Views: 18359
Re: Storage access: files or memory?
Hi ldir_hector , nice to see you again! I haven't done much with ugBasic till now, but I am glad it's still progressing ! In the meantime, I'm happy to read you again, and yes, it is and I'm trying to carry it forward in my spare time, and despite everything. :D I hope you'll find a way to deal with...