Search found 17 matches

by Phibrizzo
23 Jan 2023, 14:38
Forum: Hardware and software hacking
Topic: 2048 game
Replies: 6
Views: 117

Re: 2048 game

What is the difference between the 32k and 64k version?
Only allocation for code.
In 32K code is allocated in first 32kB, in 64K above 32kB. I did my first test on emulator with 64kB and it was easer for me.
Data for graphics is allocated in the same palce.
by Phibrizzo
23 Jan 2023, 07:58
Forum: Hardware and software hacking
Topic: 2048 game
Replies: 6
Views: 117

Re: 2048 game

This is great idea. Thanks for this tip. I must implemented to my compiler.
by Phibrizzo
23 Jan 2023, 06:20
Forum: Hardware and software hacking
Topic: 2048 game
Replies: 6
Views: 117

Re: 2048 game

"CALL vAC" has own opcode? Or it is notation shortening?
by Phibrizzo
22 Jan 2023, 13:47
Forum: Hardware and software hacking
Topic: 2048 game
Replies: 6
Views: 117

2048 game

Hello :) This is my first game for Gigatron. It is a port 2048 game by Gabriele Cirulli. Is very simple, you must collect 2048 tile. No score this time. http://blabla.ppa.pl/ftp/usr/Phibrizzo/gigatron/2048/2048gt.jpg Arrow key - move the tiles START - retstart game Is avaible two version: http://bla...
by Phibrizzo
18 Dec 2022, 14:48
Forum: Hardware and software hacking
Topic: GT1 file syntax
Replies: 7
Views: 335

Re: GT1 file syntax

Thanks. Last question: if i use BRA then i must decement address -2 too or not? I created my own vCPU compiler for Amiga like systems and it is my first program for Gigatron. http://blabla.ppa.pl/ftp/usr/Phibrizzo/gt1/filler.gt1 Please don't laugh. Little compilator = litte program (on the start, ne...
by Phibrizzo
17 Dec 2022, 11:55
Forum: Hardware and software hacking
Topic: GT1 file syntax
Replies: 7
Views: 335

Re: GT1 file syntax

I have next question, this time about Bcc instruction.

How does it work?
Example:
BNE xx - mean if(vAC != 0) goto vPC&0xFFxx (like BRA) or goto (vPC&0xFFxx)-2 ?
by Phibrizzo
16 Dec 2022, 05:14
Forum: Hardware and software hacking
Topic: GT1 file syntax
Replies: 7
Views: 335

Re: GT1 file syntax

Thanks. Now all is clear.

Second question: can vCPU code cross two pages? I mean situation like that (example):

cfff: INC $80
d001: <another instruction>
by Phibrizzo
15 Dec 2022, 17:13
Forum: Hardware and software hacking
Topic: GT1 file syntax
Replies: 7
Views: 335

GT1 file syntax

Hello :) I read the text about the gt1 file format from: https://github.com/kervinck/gigatron-rom/blob/master/Docs/GT1-files.txt and have one question. Here is written: "In essence, the file format is a list of n>0 segments of 1 to 256 bytes each." if the "segmentSize" = 0 then i...
by Phibrizzo
04 Dec 2022, 17:14
Forum: Hardware and software hacking
Topic: Gigatron emulator for MorphOS system
Replies: 6
Views: 366

Re: Gigatron emulator for MorphOS system

Now i am working on little dev system. It looks like this at the moment: http://blabla.ppa.pl/ftp/usr/Phibrizzo/gtdev1.png http://blabla.ppa.pl/ftp/usr/Phibrizzo/gtdev2.png http://blabla.ppa.pl/ftp/usr/Phibrizzo/gtdev1.png http://blabla.ppa.pl/ftp/usr/Phibrizzo/gtdev2.png I have one question. I woul...
by Phibrizzo
21 Nov 2022, 17:55
Forum: Hardware and software hacking
Topic: Gigatron emulator for MorphOS system
Replies: 6
Views: 366

Re: Gigatron emulator for MorphOS system

Thanks a lot for this all explonation. To solve the coding problem, I did two things: 1. Wrote simple program in BASIC: 10 print peek(15) 20 goto 10 and read all needed codes. for cursors i used: right - 254 left - 253 down - 251 up - 247 It work correctly too. 2. Added to the emulator switch for ch...