Search found 72 matches

by Phibrizzo
17 Dec 2022, 11:55
Forum: Hardware and software hacking
Topic: GT1 file syntax
Replies: 7
Views: 1284

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: 1284

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: 1284

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: 1672

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: 1672

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...
by Phibrizzo
19 Nov 2022, 22:47
Forum: Hardware and software hacking
Topic: Gigatron emulator for MorphOS system
Replies: 6
Views: 1672

Re: Gigatron emulator for MorphOS system

Ad1. I solved the problem. Youre right i must send ASCII codes, buf for cursor keys i must send codes 0, 1, 3, 7.
by Phibrizzo
19 Nov 2022, 16:19
Forum: Hardware and software hacking
Topic: Gigatron emulator for MorphOS system
Replies: 6
Views: 1672

Re: Gigatron emulator for MorphOS system

Ad1. No mather what i put into IN variable, always work like ENTER.

Ad2. I fixed it. Now is ok.
by Phibrizzo
19 Nov 2022, 12:43
Forum: Hardware and software hacking
Topic: Gigatron emulator for MorphOS system
Replies: 6
Views: 1672

Gigatron emulator for MorphOS system

Because i am user of MorphOS system (like Amiga OS), i did first release a Gigatron emulator for this system. Emulator is based on source code form Appendix B form manual. How it works can be seen here (direct link, sorry, i not have YT account): http://blabla.ppa.pl/ftp/usr/Phibrizzo/gigaemu.mp4 On...
by Phibrizzo
12 Nov 2022, 20:38
Forum: Hardware and software hacking
Topic: Questions about TinyBASIC
Replies: 1
Views: 898

Re: Questions about TinyBASIC

Ad1. Ctrl-C

Ad2. Yes, it is possible. But slill i dont know where is a safe areas.

I found it in BASIC tutorial. Sorry for this trivial questions.
by Phibrizzo
12 Nov 2022, 15:52
Forum: Hardware and software hacking
Topic: Questions about TinyBASIC
Replies: 1
Views: 898

Questions about TinyBASIC

1. Possibe is break a running program in BASIC (some combination of keys)? 2. Possible is store in DATA lines machine codes, load it into some area of memory by READ and execute by URS(x) (like in C64, Atari or ZX Spectrum)? If yes, which area of memory is safe for that operation? (Gigatron with 64kB)