Search found 645 matches

by at67
12 Feb 2023, 00:42
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

It's pretty simple, all it does is change the contents of the sprite's image. PATTERN is the old school BASIC name for a swappable image for a SPRITE, so: 'SPRITE PATTERN, <id>, <pattern id>' means change the image for SPRITE <id> to PATTERN <id> You usually do this at a much lower rate/frequency th...
by at67
11 Feb 2023, 18:18
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

'SPRITE PATTERN, <id>, <pattern id>'

This syntax error doc bug has already been fixed.
by at67
11 Feb 2023, 14:14
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

Remember you can use the pattern statement to change sprite data in real time, so lets say for example you are limited to 10 sprites of varying sizes, (due to your offscreen limitations), as long as you never have more than ten sprites on screen, then you can use those ten sprites to represent many ...
by at67
11 Feb 2023, 11:40
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

Yes there is: 1) Sprites are hard-coded to offscreen addresses for a 32K RAM Gigatron, (XXA0 to XXB3). This means the maximum number of sprite 9 pixel rows you can have is 120. So one sprite of vertical size 120 or ten sprites of vertical size 12, etc. 2) For a 64K RAM Gigatron you have (120+128) * ...
by at67
06 Feb 2023, 02:47
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

For detailed paramater lists you'll need to check the source code, which is trivial to do in the correpsonding files, pragmas.cpp, operators.cpp, functions.cpp, keywords.cpp, etc. Pragmas: // Pragmas _pragmas["_codeRomType_"] = {"_codeRomType_", CODEROMTYPE }; _pragmas["_run...
by at67
05 Feb 2023, 22:14
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

Have you seen this unfinished doc https://github.com/at67/ROMvX0/blob/mai ... tBASIC.pdf?

If at some stage you'd like to try and help finish it, that would be awesome!
by at67
05 Feb 2023, 13:46
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

Once again, on the TODO list, it will be fast and configurable, but is probably a while off.
by at67
05 Feb 2023, 11:56
Forum: Hardware and software hacking
Topic: Puzzle of Oz [game]
Replies: 1
Views: 994

Re: Puzzle of Oz [game]

Good fun, well done.
by at67
05 Feb 2023, 11:45
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

Unfortunately this is a limitation of BabelFish and the Gigatron's serial input port. The serial input port was really only ever designed for a standard Nintendo controller and Marcel had to weave some magic in SW in the Gigatron's firmware and BabelFish to allow a Ps2 keyboard to work concurrently ...
by at67
05 Feb 2023, 06:08
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 109758

Re: gtBASIC

Unfortunately not yet, screen to screen, screen to memory and tile based compressed blits are on my TODO list :/