Search found 648 matches
- 04 May 2024, 21:51
- Forum: Hardware and software hacking
- Topic: SYS functions cycles problem
- Replies: 2
- Views: 88
Re: SYS functions cycles problem
You've found a couple of issues here: From SYS-functions.txt: Naming ------ The naming convention is: SYS_<CamelCase>[_v<V>]_<N> With <N> the maximum number of clocks or cycles (not ticks!) the function will need, counted from NEXT to NEXT. This duration <N> must be passed to the 'SYS' vCPU instruct...
- 01 May 2024, 00:42
- Forum: Hardware and software hacking
- Topic: About GitHub repositories
- Replies: 5
- Views: 4006
Re: About GitHub repositories
Welcome to the forums, you sure can!
https://github.com/kervinck/gigatron-rom/pulls
https://github.com/kervinck/gigatron-rom/pulls
- 01 May 2024, 00:41
- Forum: Hardware and software hacking
- Topic: Shuffle [game]
- Replies: 6
- Views: 917
Re: Shuffle [game]
Looks and plays great!
- 27 Mar 2024, 07:11
- Forum: Hardware and software hacking
- Topic: What does 'Xpp' mean?
- Replies: 1
- Views: 4277
Re: What does 'Xpp' mean?
That's correct Xpp is a post increment of X, the increment happens after the operation
- 26 Mar 2024, 17:24
- Forum: Hardware and software hacking
- Topic: What does each assembly do?
- Replies: 3
- Views: 3512
Re: What does each assembly do?
Emulator:
Various HW/SW links:
Code: Select all
https://github.com/at67/gigatron-rom/tree/master/Contrib/at67
Code: Select all
https://forum.gigatron.io/viewtopic.php?p=1592#p1592
- 26 Mar 2024, 09:12
- Forum: Hardware and software hacking
- Topic: What does each assembly do?
- Replies: 3
- Views: 3512
Re: What does each assembly do?
Yes that's correct.
Documentation is here:
You can also single step through ROM source code in my emulator package and watch exactly how the native instruction works.
Documentation is here:
Code: Select all
https://gigatron.io/?cat=1
- 26 Mar 2024, 09:05
- Forum: Hardware and software hacking
- Topic: ROMv1.asm.py
- Replies: 2
- Views: 3379
Re: ROMv1.asm.py
It's a SYS function/call, SYS functions are called from vCPU code like this: LDWI 0xFFFF ; 4 pixels STW 0x24 LDWI 0xFFFF STW 0x26 LDWI 0x0800 ; pixel address STW 0x28 LDWI 0x04d4 ; SYS_Draw4_30 STW 0x22 SYS 30 loop BRA loop
- 20 Mar 2024, 04:09
- Forum: Hardware and software hacking
- Topic: New size coding contest "ZX Spectrum effect"
- Replies: 17
- Views: 5961
Re: New size coding contest "ZX Spectrum effect"
I disasembled Your program. You and at67 used very smart trick: if color is biger that 63 then is black. Congratulations! What I did was pretty simple and somewhat sneaky: 1) Only one loop with no comparisons. 2) You can treat screen memory as one complete non-fragmented segment, i.e. write pixels ...
- 20 Mar 2024, 03:47
- Forum: Hardware and software hacking
- Topic: LCC for the Gigatron. Take two.
- Replies: 106
- Views: 55014
- 14 Mar 2024, 00:04
- Forum: Hardware and software hacking
- Topic: New size coding contest "ZX Spectrum effect"
- Replies: 17
- Views: 5961
Re: New size coding contest "ZX Spectrum effect"
You have to be careful when specifying rules and then saying all tricks allowed. chess EQU 0x0200 addr EQU 0x30 addr DW 0x0800 chess LD addr + 1 ADDW addr ADDI 1 ANDI 1 ADDI 0x3F POKE addr LDW addr ADDI 1 STW addr BRA chess vCPU Code Size: 20 bytes GT1 Size: 31 bytes - Overwrites offscreen memory - ...