Search found 337 matches

by at67
30 Jul 2021, 06:44
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 10
Views: 234

Re: LCC for the Gigatron. Take two.

Once again, awesome!
by at67
30 Jul 2021, 06:43
Forum: Hardware and software hacking
Topic: Pluggy Reloaded
Replies: 138
Views: 48798

Re: Pluggy Reloaded

bmwtcu wrote: 29 Jul 2021, 20:07 @at67 I think he's using the NOROM BabelFish which should work with the v5a ROM.
Ahh I missed that bit, cheers.
by at67
29 Jul 2021, 10:28
Forum: Hardware and software hacking
Topic: Pluggy Reloaded
Replies: 138
Views: 48798

Re: Pluggy Reloaded

wbushby wrote: 29 Jul 2021, 09:56 I don't have the SD card ROM installed. Where does that go ?
Does that replace ROMv5a.rom ?
Yes it does, follow the link in bmwtcu's post.
by at67
23 Jul 2021, 09:33
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 10
Views: 234

Re: LCC for the Gigatron. Take two.

I decided to give it another try a few months ago. I studied the old compiler and stole the good ideas, such as having a combined assembler-linker written in python. I rewrote a very different code generator (with some novel ideas in fact) and I solved the register spilling problems. Then I started...
by at67
19 Jul 2021, 09:51
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 91
Views: 8770

Re: New vCPU instructions 2.0

I just ran some experimented with a batch of indirect-indexed instructions. The encoding is as follows: PREFIX VAR OPCODE OFFSET I'm going to use this format, (as you suggested), for PREFX3 to save a few cycles. Overall I believe this is a good idea. The implementation might have to be refined. In ...
by at67
19 Jul 2021, 09:41
Forum: Hardware and software hacking
Topic: Additional facilities for native code programming / a new SYS function calling convention
Replies: 3
Views: 243

Re: Additional facilities for native code programming / a new SYS function calling convention

Variable space. Is there a backwards compatible place that we could put this information? I kinda wish Marcel had allocated some of page 0 as "for future use". I guess this is with future ROM's in mind, if so then you could just use the 0x3X space; Marcel reserved 0x30 to 0x33 for VBlank interrupts...
by at67
04 Jul 2021, 01:16
Forum: Hardware and software hacking
Topic: Additional facilities for native code programming / a new SYS function calling convention
Replies: 3
Views: 243

Re: Additional facilities for native code programming / a new SYS function calling convention

It can't be shared between virtual machines - code that is part of a vCPU or v6502 instruction is destined always to return to its dispatch loop, and SYS functions are all linked to vCPU for the same reason. I'd like to be able to expose SYS functions in my Forth, and it's possible, but it always i...
by at67
04 Jul 2021, 00:11
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 91
Views: 8770

Re: New vCPU instructions 2.0

Yes, I think to do both bytes and the transfer in 30 is not possible. If you could do it in two-phases it should work (but how would you dispatch to different code the on the second and subsequent calls?). My implementation of Arithmetic shift-right is 45 excluding the cost of dispatch and I though...
by at67
21 Jun 2021, 18:28
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 91
Views: 8770

Re: New vCPU instructions 2.0

I've implemented a LSRB, (non PREFX instruction), in ROMvX0, so applying this technique, (as a PREFX restart-able instruction), to allow right byte shifts from 1 to 7 should be doable. But I was never able to get a LSRW implemented in under 30 cycles. In fact I wasn't even close, I think my best was...
by at67
20 Jun 2021, 04:52
Forum: Hardware and software hacking
Topic: New vCPU instructions 2.0
Replies: 91
Views: 8770

Re: New vCPU instructions 2.0

Ideas for prefix2. So, before even thinking of supporting long and float arithmetic with SYS calls, it would be desirable to have MOVL v1,v2 (moving 4 bytes) and MOVF v1,v2 (moving 5 bytes), and maybe even LOKEA/LEEKA and fp equivalents (FOKEA might not be a good name.) Doing this might involve wri...