Search found 72 matches
- Sat Jan 11, 2025 7:02 am
- Forum: Support
- Topic: GLOBAL and SHARED variables
- Replies: 3
- Views: 1272
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: 2537
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: 2537
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: 4089
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: 4089
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: 4089
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: 4089
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: 4737
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: 17800
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...
- Thu Aug 01, 2024 8:43 pm
- Forum: Support
- Topic: Memory Map on D32 and D64
- Replies: 1
- Views: 11133
Re: Memory Map on D32 and D64
Hi clovepower ! :) Just double checking if the area from 1024 to 2047 is free to be used as video memory on the Dragon target. As far as I can tell, the compiled program should use memory from address &H2800 (10240 decimal). So that range should not be touched by the program. I suspect that, for...