spotlessmind1975 / ugbasic

An isomorphic BASIC language compiler for retrocomputers
Apache License 2.0
85 stars 14 forks source link

Problem with total bytes indicated during compilation for Amstrad CPC #605

Open ldir-hector opened 1 year ago

ldir-hector commented 1 year ago

I have a huge program that compiles correctly, but in the ugBasic IDE, the indicated total bytes is incorrect :

image

If I look in all the assembly window I see that most of the lines seems to be ignored.

If I go the virtual floppy image, I see that as expected, the MAIN file is 41k large ! It's not a big deal, but to optimize my program, this size indicators are very usefull !

spotlessmind1975 commented 1 year ago

Hello @ldir-hector , and thank you for your bug report!

Can you be kind enough to attach an IDE snapshot? Thank you again!

ldir-hector commented 1 year ago

oops...sorry I should not do two things at the same time, I'm not a woman ! ;)

Another weird result I got I added at the begining RESOLUTION (640,400) and then It generates this :

image

More than 64 kb ! And the file does 64 kb on the virtual disk !