Search found 488 matches
- 29 Apr 2019, 20:17
- Forum: Hardware and software hacking
- Topic: Rudimentary vCPU support for the lcc C compiler
- Replies: 16
- Views: 18595
Re: Rudimentary vCPU support for the lcc C compiler
I've just merged Pat's branch into the Gigatron repo , with preservation of its git history. Hopefully I didn't goof up because I forgot how I did it last time. (For future reference, I used instructions from here .) We "promoted" it directly to Utils/lcc/ , even though it's still very muc...
- 29 Apr 2019, 18:02
- Forum: Hardware and software hacking
- Topic: Indirect Addressing?
- Replies: 8
- Views: 6135
Re: Indirect Addressing?
Question for Marcel - when using ALLOC, is $DD a signed integer so that $DD=0x02 increments the stack pointer by 2 and $DD=0xFE decrements it by 2? Correct, because vSP is a single-byte register. Programs typically park values on the stack with these instructions. They were originally squeezed in t...
- 29 Apr 2019, 12:15
- Forum: Hardware and software hacking
- Topic: Indirect Addressing?
- Replies: 8
- Views: 6135
Re: Indirect Addressing?
I was pondering, perhaps it's more efficient to use the vCPU stack as the data stack instead of call stack. We have ALLOC to grow/shrink it by any offset, and we have LDLW and STLW for R/W access at offsets in the stack. The call stack doesn't need these operations. It can be simulated by explicit v...
- 29 Apr 2019, 10:18
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23275
Re: Assembling Gigatron the hard way
xora([Y,0]) # AC = XOR(RAM[Y<<8+0],AC) - XOR with the inverted value, so we should end up with zero in RAM (and AC as it also gets stored there too). Is this correct? Almost. xora doesn't write to RAM. Only st can write to RAM. The mem test also tests some/most of the ALU. My 74F board had a shorte...
- 29 Apr 2019, 07:21
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23275
Re: Assembling Gigatron the hard way
The mem test tries if it can write to some memory locations. For that you must first know what's there. It also tries to be non-destructive, so at the end of the loop the original value gets written back.
- 28 Apr 2019, 16:02
- Forum: Kit assembly gallery
- Topic: Assembling Gigatron the hard way
- Replies: 29
- Views: 23275
Re: Assembling Gigatron the hard way
From the source (Core/ROMv3.py): # Simple RAM test and size check by writing to [1<<n] and see if [0] changes. ld(1); C('RAM test and count') label('.countMem0') st([memSize], Y) ld(255) xora([Y,0]) st([Y,0]) # Test if we can change and read back ok st([0]) # Preserve (inverted) memory value in [0] ...
- 28 Apr 2019, 07:05
- Forum: Hardware and software hacking
- Topic: 10MHz, 12.5MHz and Beyond!
- Replies: 45
- Views: 57271
Re: 10MHz, 12.5MHz and Beyond!
Thanks for benchmarking, and good to see the modified ROM generates a stable video signal that gets accepted. Caveats: Remember that Tiny BASIC was written in GCL which is itself an interpreted language - which suggests two levels of interpretation. C64 BASIC was written in 6502 assembly language an...
- 27 Apr 2019, 19:48
- Forum: Hardware and software hacking
- Topic: Rudimentary vCPU support for the lcc C compiler
- Replies: 16
- Views: 18595
- 27 Apr 2019, 16:39
- Forum: Hardware and software hacking
- Topic: 10MHz, 12.5MHz and Beyond!
- Replies: 45
- Views: 57271
Re: 10MHz, 12.5MHz and Beyond!
This is an IR image of the 15 MHz configuration running Mandelbrot. I took it to a friend's house, as I don't have a FLIR camera myself. The user registers AC, OUT and Y get warmest. AC warms up to 40 degrees Celsius, OUT slightly above that. For reference, original TTL gets to 60 degrees . Surprisi...
- 27 Apr 2019, 09:06
- Forum: Hardware and software hacking
- Topic: 10MHz, 12.5MHz and Beyond!
- Replies: 45
- Views: 57271
Re: 10MHz and Beyond!
My 74F based build runs at 12.5 MHz now as well: https://youtu.be/VN3eIPT2FUA All 74F logic, except for clock (74HCT04) and input (74HC595) Pull-up resistors in control unit lowered from 2.2kΩ to 680Ω BAT42 signal diodes Removed CLK1-CLK2 delay. The registers didn't update properly otherwise, even w...