So I clearly need to stop jumping to conclusions...
..I'd only connected the first 6 address lines to the Arduino - I hadn't expected to make it any further!!!
Oh well, only 1 wasted evening....
Search found 21 matches
- 01 May 2019, 21:59
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
- 01 May 2019, 20:33
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
Awwww... so close.... So I tried out my breakpoint code - that works.... both the simulation and the breadboard made it through the 'entropy gathering' code. I'd put a breakpoint at 0x37.... 0037 0104 ld [$04] ;Cold or warm boot? 0038 8105 adda [$05] 0039 805a adda $5a 003a ec3e bne cold 003b 0000 l...
- 01 May 2019, 11:57
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
No further progress to report... Because the behavior of the entropy collecting loop is determined by random memory contents I can't use my previous technique of cycle-by-cycle comparing the simulation results with the observed results, so instead I'm going to implement a simple breakpoint system, t...
- 30 Apr 2019, 19:18
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
I must admit I've quite enjoyed the journey so far.... The resources available on github as part of this project have made a huge difference - Marcel and Walter must have spent a huge amount of time on the software side. I do have a proper PCB BTW (I bought the full kit from them) - I just wanted to...
- 30 Apr 2019, 15:08
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
Yeah - whilst 6Mhz isn't quite into the frequency range where electronics becomes voodoo it's in the sort of range where you can't be totally careless. I'm not sure if the extra loading of the Arduino inputs monitoring the various registers and busses (and the extra line capacitance) would push it b...
- 30 Apr 2019, 10:35
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
I've finally made it past the instruction at 0x0A!!! In the end I tracked it down using logic.... the bus having 1100 0000 and the AC register having 1100 1111 during the XOR suggested something was mixed up with the bus connections to the ALU. To confirm it was within the ALU I disconnected the ALU...
- 29 Apr 2019, 10:28
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
Yes, of course (I even wrote that in pseudo code then managed to read my own pseudo code wrong!!!!).
I've updated my previous post so if anyone in the future happens to read this thread they don't get confused by my mistakes!
I've updated my previous post so if anyone in the future happens to read this thread they don't get confused by my mistakes!
- 29 Apr 2019, 09:47
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
Hmmm... This is very suspicious.... xora([Y,0]) # AC = XOR(RAM[Y<<8+0],AC) - So store the inverse of what is in RAM at Y<<8+0 in AC Clock cycle:7 ROM Lookup: IR:69 D:0 ROM ADR:0007 BUS:C0 (011000000) Data:A8 (010101000) IR:69 [ins:3-XOR 01001 mod:2-0110 bus-0001-RAM W:0 J:0 LD:0 ] Y:00 (000000000) A...
- 29 Apr 2019, 08:39
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
So... Mostly for my own benefit here is the totally annotated version: ld(0b0000); # OUT = 0x0 ld(syncBits^hSync, OUT) # OUT = 0x80 ld(syncBits, OUT) # OUT = 0xC0 ld(1); # AC = 1 st([memSize], Y) # Y = &memSize (1 as it happens), so Y = 1, Also RAM[1] = AC ld(255) # AC = 255 xora([Y,0]) # AC = X...
- 29 Apr 2019, 07:08
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23978
Re: Assembling Gigatron the hard way
So the instruction I'm sticking on now is cycle 7: Clock cycle:6 ROM Lookup: IR:0 D:FF ROM ADR:0006 BUS:FF (011111111) Data:88 (010001000) IR:00 [ins:0-LD 00011 mod:0-1110 bus-0000-ROM W:0 J:0 LD:0 ] Y:00 (000000000) AC:FF (011111111) YL:0 XL:0 EH:1 EL:1 OL:1 LD:0 PL:1 PH:1 Writing 1 to address 1 PC...