Search found 27 matches

by Cwiiis
21 May 2018, 17:04
Forum: Hardware and software hacking
Topic: MIDI Audio:
Replies: 18
Views: 12853

Re: Midi Audio:

So cool! I was about ready to give up on music, but maybe I'll give it a shot having heard that... Like the screen-shake line clear effect too, nice idea :)
by Cwiiis
21 May 2018, 00:11
Forum: Hardware and software hacking
Topic: WIP: Tetris + any GCL tips?
Replies: 29
Views: 19340

Re: WIP: Tetris + any GCL tips?

Just some things that caught my attention just because I remember them differently (my memories are worthless, so don't worry): The bricks don't stay at their position when rotating repeatedly. They start to travel right to left. Dropping a brick is slow. I expected them to fall quickly once tellin...
by Cwiiis
19 May 2018, 18:43
Forum: Hardware and software hacking
Topic: 10MHz, 12.5MHz and Beyond!
Replies: 45
Views: 53906

Re: 10MHz and Beyond!

Neat! So at 8Mhz, do you get a corresponding increased refresh rate of ~76Hz?
by Cwiiis
19 May 2018, 18:41
Forum: Hardware and software hacking
Topic: Switching out EPROM chip
Replies: 1
Views: 2432

Switching out EPROM chip

I got my hands on a couple of NEC D27C1024D-15 chips that I thought would be compatible - Erasing them was fine, but I couldn't program them reliably above 4V (and as one might expect, reading back at above 4V also results in unreliable readings). Both chips I think are pretty old, is this a case of...
by Cwiiis
19 May 2018, 01:09
Forum: Hardware and software hacking
Topic: WIP: Tetris + any GCL tips?
Replies: 29
Views: 19340

Re: WIP: Tetris + any GCL tips?

Works for me! I've also sped up the USB loader by bumping up the baud rate and removing some stupidity. It now takes 12.5 seconds to send a reset, start the loader, push Gigatris.gt1 into the board and start execution. Today my 10.1 inch LCD monitor arrived from Amazon. It goes well with one of the...
by Cwiiis
18 May 2018, 18:36
Forum: Hardware and software hacking
Topic: WIP: Tetris + any GCL tips?
Replies: 29
Views: 19340

Re: WIP: Tetris + any GCL tips?

The same Dropbox link as before: https://www.dropbox.com/s/oshibfempa9d38g/Gigatris.gt1?dl=0, I've gotten to what I now consider to be an alpha state - the game is entirely playable, has scoring, level progression, line count, next-piece display, etc. I think a couple of the pieces need tweaking to ...
by Cwiiis
17 May 2018, 22:51
Forum: Hardware and software hacking
Topic: Optimising tail calls
Replies: 2
Views: 2938

Re: Optimising tail calls

Ah, I see - I guess then if you wanted to split up a function across pages, you could push in the first, call the 2nd at the end, then pop ret in the 2nd function (and rely on nothing ever calling the 2nd function alone).
by Cwiiis
17 May 2018, 08:58
Forum: Hardware and software hacking
Topic: WIP: Tetris + any GCL tips?
Replies: 29
Views: 19340

Re: WIP: Tetris + any GCL tips?

Core/compilegcl.py now injects this patch into the GT1 files it creates. I generated a couple of them, and they work fine. I checked them into GitHub as well for now. I also refactored Core/asm.py slightly so that the (semi-)standalone GCL compiler doesn't generate spurious files any longer. A step...
by Cwiiis
17 May 2018, 08:19
Forum: Hardware and software hacking
Topic: Optimising tail calls
Replies: 2
Views: 2938

Optimising tail calls

I have a function 'ClearRect' in my program that does what you would expect - to save on bytes, I have a function 'ClearScreen' that sets up variables to clear the screen and then calls ClearRect. Currently that looks like: [def {ClearScreen} push c= $0800 Pos= 40 Width= 120 Height= c ClearRect! pop...
by Cwiiis
16 May 2018, 13:24
Forum: Hardware and software hacking
Topic: WIP: Tetris + any GCL tips?
Replies: 29
Views: 19340

Re: WIP: Tetris + any GCL tips?

marcelk wrote: 16 May 2018, 09:08 It is in a useless RAM area so it doesn't eat from your real program. I tucked it away behind the load buffer. The entire Loader is running within screen area.
Oh of course, very clever :)