bslathi19
  • Joined on 2025-11-07
bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 22:13:49 -07:00
b31d7490b2 Add indirect jump
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 22:02:38 -07:00
32 Bit address support

Ok that is one in dc339cb725af758c7bc9838d4920e9d921d31a55

Now for regular indirect. We can just copy JMPI0 twice.

bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 21:57:16 -07:00
dc339cb725 Add absolute indexed indirect
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 21:12:59 -07:00
32 Bit address support

Lets tackle absolute,x indirect.

This is states JMPIXn

Like absx, We can probably just copy this state twice https://git.byronlathi.com/bslathi19/verilog6502/src/commit/06f933fa56fb4a83ef458…

bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 21:08:28 -07:00
7164a8172f Add test for abs,y
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 21:06:33 -07:00
32 Bit address support

abs,y should also be handled by abs,x add those to the test also

bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 21:04:11 -07:00
32 Bit address support

Added abs,x here cb6cac12451b7a673680625ea2f77e9d4895305f

bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 21:04:00 -07:00
cb6cac1245 add absolute,x
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 20:37:22 -07:00
32 Bit address support

abs,x next.

Looks like we can just copy this state https://git.byronlathi.com/bslathi19/verilog6502/src/branch/master/src/cpu_65c02.v#L215 2 more times

bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 20:34:46 -07:00
32 Bit address support

Lets tackle absolute for normal instructions next.

747438a9b678417f56eb94c90a31c456f70056b5

This was pretty simple, we just copy the ABS0 state two more times.

bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 20:34:19 -07:00
747438a9b6 Add absolute addressing
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 19:29:57 -07:00
32 Bit address support

JMP changes are added in 019b84f41d6ea775194eeeb250fbd0eb185c3779

bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 19:28:46 -07:00
019b84f41d Get reset sequence to work
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-26 08:55:39 -07:00
32 Bit address support

The BRK changes are added in 9476c6a0dd3bec6bf7d521cdd2c3467bcd3fb929

Now that we have those, we need to update the JMP state, since it is only waiting 1 cycle for an address ![image.png](/attac…

bslathi19 created branch 32bit in bslathi19/verilog6502 2026-04-26 08:54:14 -07:00
bslathi19 pushed to 32bit at bslathi19/verilog6502 2026-04-26 08:54:14 -07:00
9476c6a0dd Add 32 bit BRK
bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-25 22:54:43 -07:00
32 Bit address support

Actually before we do that, we need to do the vectors so that we can even reset the chip. We start in state BRK0 https://git.byronlathi.com/bslathi19/verilog6502/src/commit/06f933fa56fb4a83ef4580…

bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-25 22:33:11 -07:00
32 Bit address support

second state that needs changed is ABSn

currently there are 2 states, for loading 2 bytes 06f933fa56/…

bslathi19 commented on issue bslathi19/verilog6502#1 2026-04-25 22:18:30 -07:00
32 Bit address support

Starting from the top, the first thing that needs to change is state IND0

All IND0 does is go to INDX1, bypassing the INDX0 state where the zp address is added with the X register. This…

bslathi19 opened issue bslathi19/verilog6502#1 2026-04-25 22:11:06 -07:00
32 Bit address support