Comments

Log in with itch.io to leave a comment.

very good

Hi spotlessmind1975,
I noticed that in the examples on GitHub there are REM lines with "embedded commands" (i.e., @english, @italian, @include): I couldn't find documentation about them, so I was wondering what they are for and if there are others.
I'm also asking because in my initial experiments, @english and @italian break the compilation (but I'm surely missing something).

Thank you very much!

cheers,
Eros

Hi Eros, and thank you again for the comment!

The commands in the comments are used by some automated software I have written, which is used to compose the online documentation, the user manual and the support files for the IDE. They have no special meaning for ugBASIC, which in fact ignores them completely since they are in the comments.

have a nice day!
Marco

Dear spotlessmind1975,
I’m experiencing an issue with the ugBASIC IDE. I mistakenly installed the VICE emulator in the wrong folder, and now I keep encountering the following error:

IDE version: 1.17.1+3361ef1d8e97def88621cd9c67fe4b02b8afa3bc
message: Access to the path 'C:\Users\Eros\AppData\Roaming\UGBASIC-IDE\emulators' is denied.
[more...]

Unfortunately, I haven’t been able to undo this mistake. I couldn’t find where the configuration settings are stored, so even when I try to change the VICE configuration path from the ide itself, I run into the same error.

Would you be able to help me resolve this? I’d really appreciate any guidance!

Thanks in advance.


cheers,
Eros

Hi Eros, and thank you for your comment!

If I understand correctly, you copied VICE to the directory "C:\Users\Eros\AppData\Roaming\UGBASIC-IDE\emulators": if so, simply close the IDE, rename that directory to something else (eg: "C:\Users\Eros\AppData\Roaming\UGBASIC-IDE\emulators2") and launch IDE again to solve the problem.

The error you are getting is because UGBASIC-IDE finds that file "locked", for some reason. This file contains (or should contain) the configuration of the emulators (the various paths and command line options), and the fact that it gives an "access denied" error means that the IDE is not able to overwrite it with the new settings. This could happen for two reasons: the file is locked by some other program or the file is a directory, and therefore it is not possible to write anything to it.

Let me know if it helps.

have a nice day!
Marco

Hi spotlessmind1975,
thanks a lot: with your help I was able (after a restart of Windows) to solve the issue.


cheers,
Eros

"The keywords must be written in UPPER case." Really? Why?

(1 edit)

Hi birko70, and thank you for the comment!

There are several reasons for this choice. 

There is a historical one, linked to the first implementations of BASIC language (towards which ugBASIC is compatible). 

There are practical ones, such as the possibility of distinguishing commands and data/parameters without the need to identify them with a formal separator (such as, for example, a space), thus making programs more compact (and this is useful for BASIC 10 Liner contest )

Aha. It's like on a BBC computers basic.
For me it's a pain to additionally press shift almost all of the time when typing in basic code. But I'm not forced to use your basic ;).

(+1)

very good

Hi there!

Is there a way to add keyboard shortcut customization or to disable the Alt+8 shortcut (which doesn't seem to be listed in the menu but runs the Atari800 compiler/emulator)? I'm working on a German keyboard where [ is created with AltGr+8, so I keep running the emulator instead of writing the bracket. I tried removing the emulator from the settings, but then it just throws an unhandled exception for not finding the executable at the project path.

That's the only character I've run into that issue with so far, but if something could be done that I don't need to copy those in, that would indeed be great :D

(+2)

Hello Crabman and thank you for the comment!

It's currently not possible to customize keyboard shortcuts but it's definitely a great idea. At the same time, the absence of any emulator / compiler should prevent an unhandled error from arising, so it will definitely be handled in the next release, as well. Moreover, the next version will also have more features and an additional target, so surely it will be useful to have this change you suggested.

Thank you again, and happy retrocoding!

Hi, me again, I'm struggling a bit to wrap my head around some of the limitations and how to achieve what I'm trying to do. I saw another comment mentioning a support community, is there somewhere I could ask some silly noob questions?

(+1)

Hi Cramban, thank you for the comment. 

Sure, there is a community of ugBASIC users and programmers, and it uses the official Facebook group to ask questions. It is also the group where news and updates are communicated, such as when a new version of the compiler comes out. The group is here:
https://www.facebook.com/groups/867151224158600

Thank you again, and have a nice retrocoding!

(+1)

Hello Crabman, I take the liberty of bothering you to point out that now the shortcuts for compiling or launching programs are fully configurable.  

Please, download version 1.14 and then click on "Configuration" and then "Shortcuts". By clicking on the single button it is therefore possible to press the sequence of keys to be used, to cancel those already present, to restore them to default and so on.

Thank you again for the suggestion, and happy retrocoding!

Awesome, works a treat! Interesting too, I never realized that AltGr is the same as Ctrl+Alt, in my head it was just "right alt," but this makes a lot more sense :D

Thanks!

very good

any idea if or when fonts might be a thing?

Hello Skulltip, and thank you for your comment. I don't think I understood very well. What "fonts" do we mean?

character set, but i can see to get around it can use the get image.. when i tried the MOB sample I get this message from the compiler:  Datatype mismatch: BYTE,MOB    


BITMAP ENABLE (2)       
airplaneImage = LOAD IMAGE("mytest.png" AS "airplanebw")
airplane = 0   
MOB airplane, airplaneImage
(+1)

Hello Skulltip, thank you for explaining the concept. 

You can change the standard ugBASIC font easily with the FONT LOAD command. The command converts any image into a matrix of characters, which are then loaded one at a time, from left to right and top to bottom. Once loaded you can use commands like PRINT, CHR(...) and so on.

Unfortunately, the MOB command is not implemented on all platforms, and moreover it is "deprecated": in fact, I have discovered that intelligent use by programmers of the GET IMAGE / PUT IMAGE primitives gives far better results. So I suggest to check if these instructions can be helpful. If you then use hardware that has hardware sprites, you can check if they have enough features for your needs.

Thanks again, and have a nice retrocoding!

(1 edit)

Gave it a try, it feels great!
I was wondering, as it supports the DRAGON 32 and 64, why not or what is needed to extend that to the TRS-80 COLOR COMPUTER 1 and 2? They are very similar machines.
Great work going on with this!
edit: Got my answer from the support group :)

j'aimerais savoir s'il est prévu un compilateur pour DCVG5K (Vg5000) ?

Bonjour et merci pour le commentaire !

Il n'est pas disponible pour le moment, mais il fait partie de ceux attendus. 

En fait, certains développements ont été effectués et probablement la version sur le référentiel github est capable de créer une sorte d'exécutable de travail. Cependant, ce n'est pas à un niveau qui peut être considéré comme valable. 

Si vous souhaitez suivre les développements, vous pouvez les suivre sur cette page :

https://github.com/spotlessmind1975/ugbasic/issues/82

very good