Search found 648 matches

by at67
Today, 21:51
Forum: Hardware and software hacking
Topic: SYS functions cycles problem
Replies: 2
Views: 27

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...
by at67
01 May 2024, 00:42
Forum: Hardware and software hacking
Topic: About GitHub repositories
Replies: 5
Views: 3976

Re: About GitHub repositories

Welcome to the forums, you sure can!
https://github.com/kervinck/gigatron-rom/pulls
by at67
01 May 2024, 00:41
Forum: Hardware and software hacking
Topic: Shuffle [game]
Replies: 6
Views: 295

Re: Shuffle [game]

Looks and plays great!
by at67
27 Mar 2024, 07:11
Forum: Hardware and software hacking
Topic: What does 'Xpp' mean?
Replies: 1
Views: 4041

Re: What does 'Xpp' mean?

That's correct Xpp is a post increment of X, the increment happens after the operation
by at67
26 Mar 2024, 17:24
Forum: Hardware and software hacking
Topic: What does each assembly do?
Replies: 3
Views: 3276

Re: What does each assembly do?

Emulator:

Code: Select all

https://github.com/at67/gigatron-rom/tree/master/Contrib/at67
Various HW/SW links:

Code: Select all

https://forum.gigatron.io/viewtopic.php?p=1592#p1592
by at67
26 Mar 2024, 09:12
Forum: Hardware and software hacking
Topic: What does each assembly do?
Replies: 3
Views: 3276

Re: What does each assembly do?

Yes that's correct.

Documentation is here:

Code: Select all

https://gigatron.io/?cat=1
You can also single step through ROM source code in my emulator package and watch exactly how the native instruction works.
by at67
26 Mar 2024, 09:05
Forum: Hardware and software hacking
Topic: ROMv1.asm.py
Replies: 2
Views: 3120

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
by at67
20 Mar 2024, 04:09
Forum: Hardware and software hacking
Topic: New size coding contest "ZX Spectrum effect"
Replies: 17
Views: 5462

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 ...
by at67
20 Mar 2024, 03:47
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 53898

Re: LCC for the Gigatron. Take two.

lb3361 wrote: 19 Mar 2024, 20:17 [OOOPS] I get message "failed to move uploaded file" when i try to attach the 1.5MB zip file with the windows executable.
Max file upload size has been increased to approximately 5MiB.
by at67
14 Mar 2024, 00:04
Forum: Hardware and software hacking
Topic: New size coding contest "ZX Spectrum effect"
Replies: 17
Views: 5462

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