OLIMEX / AgonLight2

AgonLight OSHW Retro Z80 computer - updated version with few updates
GNU General Public License v3.0
82 stars 9 forks source link

ERROR on GCOL #4

Open shaeon opened 1 year ago

shaeon commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

oldpatientsea commented 1 year ago

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 commented 1 year ago

I think it's better show a screenshot


From: Tim @.> Sent: Thursday, June 15, 2023 10:53:12 PM To: OLIMEX/AgonLight2 @.> Cc: shaeon @.>; Author @.> Subject: Re: [OLIMEX/AgonLight2] ERROR on GCOL (Issue #4)

BBC BASIC its (Z80) version 3.00

Confusingly this refers to the version on which is has been based.

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

— Reply to this email directly, view it on GitHubhttps://github.com/OLIMEX/AgonLight2/issues/4#issuecomment-1593709982, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACPD5FXZC7WTZEZEEP3H6YDXLNY3RANCNFSM6AAAAAAZH5RCBU. You are receiving this because you authored the thread.Message ID: @.***>

shaeon commented 1 year ago

Perfect! Tomorrow I'll try this news files.

Thank you!


From: Tim @.> Sent: Thursday, June 15, 2023 10:35:43 PM To: OLIMEX/AgonLight2 @.> Cc: shaeon @.>; Author @.> Subject: Re: [OLIMEX/AgonLight2] ERROR on GCOL (Issue #4)

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 , 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

— Reply to this email directly, view it on GitHubhttps://github.com/OLIMEX/AgonLight2/issues/4#issuecomment-1593692219, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACPD5FVFEZBCRXT7TJEVMYDXLNWZ7ANCNFSM6AAAAAAZH5RCBU. You are receiving this because you authored the thread.Message ID: @.***>

oldpatientsea commented 1 year ago

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.