Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR on GCOL #4

Open
shaeon opened this issue Jun 15, 2023 · 6 comments
Open

ERROR on GCOL #4

shaeon opened this issue Jun 15, 2023 · 6 comments

Comments

@shaeon
Copy link

shaeon commented Jun 15, 2023

I'm trying LOAD some basic examples or try execute GCOL from BASIC line and i got a error syntax error. Also I tried with cube.bbc or mandlebrot.bbc file on tests folder of SD.

imagen

Am I doing something wrong?

I'm working with VDP & MOS version 1.03. BBC BASIC its (Z80) version 3.00

Best Regards.

@oldpatientsea
Copy link

The files in the Olimex repository are out of date and changes to BBC BASIC made since then are not backward compatible.

Current (BBC BASIC v1.04) syntax for GCOL is GCOL <numeric>,<numeric> where the first number sets the mode (currently ignored as not implemented) and the second sets the colour.

For documentation please see: https://oldpatientsea.github.io/agon-bbc-basic-manual/0.1/bbckey2.html#_gcol_gc

For the latest version of the example and test files, please visit the official repository: https://github.com/breakintoprogram/agon-bbc-basic/tree/main/tests

@oldpatientsea
Copy link

Issue #3 tracks the problem with the files being out of date.

@oldpatientsea
Copy link

oldpatientsea commented Jun 15, 2023

BBC BASIC its (Z80) version 3.00

Confusingly this refers to the version on which it has been based, not the Agon-specific version that you are running.

To find out the version you are using, type *VERSION from the BBC BASIC prompt

I believe that for you this should return:

BBC BASIC (Agon) Version 1.04

@shaeon
Copy link
Author

shaeon commented Jun 15, 2023 via email

@shaeon
Copy link
Author

shaeon commented Jun 15, 2023 via email

@oldpatientsea
Copy link

oldpatientsea commented Jun 15, 2023

Screenshot showing how to find version information:

BASICVERSION

All BBC BASIC (Agon) versions will show the same BBC BASIC (Z80) Version number, 3.0, but the important thing to note for compatibility purposes is the BBC BASIC (Agon) version number.

The cube.bbc or mandlebrot.bbc files you are trying work on BBC BASIC (Agon) v1.02 and v1.03, but not on v1.04.

VDP & MOS version 1.03. require BBC BASIC (Agon) v.1.04.

It's unnecessarily confusing that the version numbers do not align. Hopefully this will be resolved in a later set of releases. The project is still very young :)

Note, the updated examples for BBC BASIC (Agon) v1.04 are called cube.bas and mandlebrot.bas, that is they have a .bas not a .bbc suffix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants