Search found 18 matches

by clovepower
Thu Aug 01, 2024 8:00 pm
Forum: Support
Topic: Memory Map on D32 and D64
Replies: 1
Views: 5505

Memory Map on D32 and D64

Hi Just double checking if the area from 1024 to 2047 is free to be used as video memory on the Dragon target. I am implementing double buffering (as I think it is not provided by ugBASIC). I am pretty sure the code works, as I can make it work for small programs, but when I use it on a bigger progr...
by clovepower
Sat Jul 27, 2024 8:53 am
Forum: Support
Topic: Question about math and data types
Replies: 8
Views: 5450

Re: Question about math and data types

Hi Marco

Indeed I asked because I knew it must have been easy, like everything in the IDE ;) .

Unfortunately, I switched to BETA as you instructed, but am getting a compilation error now.

I will post it as an issue in GitHub, which I think is easier for you to track.

Thanks & Regards
Maxi
by clovepower
Thu Jul 25, 2024 7:23 pm
Forum: Support
Topic: Question about math and data types
Replies: 8
Views: 5450

Re: Question about math and data types

Hi Marco Once again, thanks for the informative and immediate response, as always. I do am amazed to see you already implemented this :D . Only one thing...how do I access beta? :oops: Do I need to compile ugBASIC myself from source? I see in the "compilers" dialog in the UI there is a bet...
by clovepower
Wed Jul 24, 2024 3:50 pm
Forum: Support
Topic: Question about math and data types
Replies: 8
Views: 5450

Re: Question about math and data types

Hi Marco Thanks again, as usual, for your detailed and immediate response. I apologize here as my reply is very pedantic as some things are a bit unclear to me :? , see below. 1. If a variable is explicitly declared to be of a given type, it is created to be of that type, regardless how it is initia...
by clovepower
Wed Jul 24, 2024 6:54 am
Forum: Support
Topic: Question about math and data types
Replies: 8
Views: 5450

Question about math and data types

Hi I was doing some experiments with math and floats and I found some things that looks inkonsistent to me, which makes some calculations impossible (as far as I understand). I'd like to get your feedback on the below and a suggestion how I should do things differently, eventually. What I would expe...
by clovepower
Thu Jul 11, 2024 4:34 pm
Forum: Support
Topic: FOR...NEXT with negative STEP semantic
Replies: 5
Views: 5132

Re: FOR...NEXT with negative STEP semantic

Hi I am not sure if it is more fun to spot a bug, write the bug report, or read your explanation of the fix :) Anyway, the fix has been tested and works. And I do like your explanations since, as I mentioned, I love computer languages and compilers, so always interesting to get to know some detail a...
by clovepower
Thu Jul 11, 2024 6:38 am
Forum: Support
Topic: FOR...NEXT with negative STEP semantic
Replies: 5
Views: 5132

Re: FOR...NEXT with negative STEP semantic

Hi spotlessmind1975 Unfortunately, I think the fix introduced another issue :( "OPTION TYPE NARROW" produces strange effects now, depending on the program and platform using it. The below program for example prints 5 forever on the dragon, prints noting between "UP" and "DOW...
by clovepower
Thu Jul 11, 2024 5:49 am
Forum: Support
Topic: FOR...NEXT with negative STEP semantic
Replies: 5
Views: 5132

Re: FOR...NEXT with negative STEP semantic

Hi spotlessmind1975 Verified fixed! Thanks for the super fast fix, as usual :) ...and for the tory, always nice to know what happens "behind the scene". Regards Max ...btw, I do appreciate FOR...NEXT to be dynamic, I am using this continuously and using a WHILE instead would just be longer...
by clovepower
Wed Jul 10, 2024 1:49 pm
Forum: Support
Topic: FOR...NEXT with negative STEP semantic
Replies: 5
Views: 5132

FOR...NEXT with negative STEP semantic

Hi The below code, when executed in the Dragon or C128 (so I suspect it is a general behavior), doesn't print anything. i = 0 FOR i = 10 TO 1 STEP -1 PRINT i NEXT From my past BASIC memories, this should count down from 10 to 1, extremes included. Is this a bug or intended behavior? Regards Maxi
by clovepower
Mon Jul 08, 2024 8:02 am
Forum: New features
Topic: Double Buffer for Dragon Target
Replies: 4
Views: 8616

Re: Double Buffer for Dragon Target

First of all, thanks for the long and fast reply. And thanks for adding those new feature requests. Also, thanks for pointing me to the WAIT VBL line command, I will use it in my code. Last but not least, based on the memory map you describe I must be able to implement screen swap myself, the bad be...