Author Topic: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)  (Read 5139 times)

0 Members and 1 Guest are viewing this topic.

Offline 40Crisis

  • CPC664
  • ***
  • Posts: 67
  • Liked: 201
  • Likes Given: 16
GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« on: 23:24, 17 September 20 »
Hello,

This is my lame attempt to emulate GB Tetris on a CPC ;D For everyone tranquility, please never include tetris rom in distribution package.
Enjoy.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.072
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6285
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #1 on: 23:32, 17 September 20 »
Whoa, got to see this.

So I've dumped my original cart, how do I run it?

Offline 40Crisis

  • CPC664
  • ***
  • Posts: 67
  • Liked: 201
  • Likes Given: 16
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #2 on: 23:36, 17 September 20 »
You're absolutely right...Read the txt file in the archive for instructions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.072
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6285
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #3 on: 00:02, 18 September 20 »
Ah apologies, I'm on the mobile and I didn't notice it was a zip file. All is clear.

Offline jackic

  • CPC464
  • **
  • Posts: 19
  • Country: es
  • Liked: 42
  • Likes Given: 3
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #4 on: 00:03, 18 September 20 »
Is this for real? I can't make it work, I tried both versions of the tetris rom I own, 1.0 and 1.1 seems to load something but the only feature that seems to work is the palette change.

Offline 40Crisis

  • CPC664
  • ***
  • Posts: 67
  • Liked: 201
  • Likes Given: 16
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #5 on: 00:35, 18 September 20 »
A little help:- Only works on a CPC 6128 or CPC 6128+ - Rom file name on CPC disk must be rom.bin

« Last Edit: 00:39, 18 September 20 by 40Crisis »

Offline Skunkfish

  • Supporter
  • 6128 Plus
  • *
  • Posts: 596
  • Country: gb
  • Editor of Colour Personal Computing
    • CPCSTORE.CO.UK - Dedicated to the Amstrad CPC
  • Liked: 436
  • Likes Given: 1123
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #6 on: 09:18, 18 September 20 »
Really odd, the error I seem to be getting is a 'Syntax error in 70' which is 'load "!rom.bin",&2000

I try that outside of the program and get the same result?
An expanding array of hardware available at www.cpcstore.co.uk (and issue 3 of CPC Fanzine!)

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 662
  • Country: au
    • index.php?action=treasury
  • Liked: 349
  • Likes Given: 225
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #7 on: 09:29, 18 September 20 »
How are you getting the rom into the dsk image? It's really easy to add it without the amsdos header and then nothing will work right.

Offline Skunkfish

  • Supporter
  • 6128 Plus
  • *
  • Posts: 596
  • Country: gb
  • Editor of Colour Personal Computing
    • CPCSTORE.CO.UK - Dedicated to the Amstrad CPC
  • Liked: 436
  • Likes Given: 1123
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #8 on: 09:30, 18 September 20 »
Just realised that mistake, I'm now enjoying some Tetris goodness on my Plus!
An expanding array of hardware available at www.cpcstore.co.uk (and issue 3 of CPC Fanzine!)

Offline Liartes

  • CPC464
  • **
  • Posts: 45
  • Country: fr
  • Liked: 16
  • Likes Given: 9
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #9 on: 10:01, 18 September 20 »
As the GB hardware is more-or-less Z80 based, is your application emulating all the GB or "just" some parts ?
Anyway I am impressed !

Offline Skunkfish

  • Supporter
  • 6128 Plus
  • *
  • Posts: 596
  • Country: gb
  • Editor of Colour Personal Computing
    • CPCSTORE.CO.UK - Dedicated to the Amstrad CPC
  • Liked: 436
  • Likes Given: 1123
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #10 on: 10:05, 18 September 20 »
It's really impressive indeed, I wonder if other games would be possible? I imagine Super Mario Land may struggle with the scrolling...?
An expanding array of hardware available at www.cpcstore.co.uk (and issue 3 of CPC Fanzine!)

Offline flibblesan

  • Speccy
  • *
  • Posts: 2
  • Country: gb
  • Liked: 7
  • Likes Given: 5
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #11 on: 10:14, 18 September 20 »
Very very cool and impressive work!

Runs nicely in WinApe.  :)

Offline Xyphoe

  • 6128 Plus
  • ******
  • Posts: 902
  • Country: gb
    • GX4000.CO.UK
  • Liked: 338
  • Likes Given: 187
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #12 on: 10:20, 18 September 20 »
Well now, that is just BRILLIANT! GREAT JOB!

So I had a little trouble with this to start with, so I'll clarify some things....

1) Use the "ManageDSK" tool -> http://www.cpcwiki.eu/index.php/ManageDsk
2) You'll want the the v1.1 rom of Tetris, v1.0 did not work for me at all.
3) Rename it to "rom.bin" as the guide says, and import as a BINARY (not ASCII) file in ManageDSK and save the disk.
4) This should work in say Winape which I tested in, but make sure you're in 6128 or 6128 Plus mode (I tested with the latter).

 :)

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 662
  • Country: au
    • index.php?action=treasury
  • Liked: 349
  • Likes Given: 225
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #13 on: 10:28, 18 September 20 »
As the GB hardware is more-or-less Z80 based, is your application emulating all the GB or "just" some parts ?
Luckily the GB CPU is entirely a subset of the Z80, so most of the code will run directly - emulation would be far too slow. Hardware access is another thing altogether so the appropriate bits of the rom would be replaced with CPC specific code instead.
The rom banking on the GB is very different, so I expect only the small number of games which didn't use a mapper at all (https://gbhwdb.gekkio.fi/cartridges/no-mapper.html) could be ported this way. SML would be right out :D

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 662
  • Country: au
    • index.php?action=treasury
  • Liked: 349
  • Likes Given: 225
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #14 on: 10:47, 18 September 20 »
Also - "lame attempt"? It runs perfectly! Even the sound works! This is fantastic!

Offline Xyphoe

  • 6128 Plus
  • ******
  • Posts: 902
  • Country: gb
    • GX4000.CO.UK
  • Liked: 338
  • Likes Given: 187
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #15 on: 11:12, 18 September 20 »
Been playing a bit now, and it plays perfectly!
The only thing a bit off is some of the sound emulation for the title screen music, and some in game sfx. Can that be fixed or is that impossible?
(Not saying you should, I'm more than happy with what we've got!)

Suggestion - a 6128 Plus version with more options on the palette, so we can more accurately emulate the GB's colours :)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.072
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6285
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #16 on: 11:22, 18 September 20 »
Suggestion - a 6128 Plus version with more options on the palette, so we can more accurately emulate the GB's colours


Well the included text says:

Change display palette: 0 Key (18 different sets of palettes)
GB cursor: Arrows keys or OPQA keys or joystick
Start: Enter or Return Key
Select: Space Bar Key
A button: Tab Key or Joy Fire 1
B button: CapsLock Key or Joy Fire 2
Emulate original GB palette on CPC+: 4 keys combination plus (will crash if used on a non + machine).

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 662
  • Country: au
    • index.php?action=treasury
  • Liked: 349
  • Likes Given: 225
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #17 on: 11:35, 18 September 20 »
That description is incredibly vague, apparently it means you hold down the keys P L U S together to switch.

Offline Xyphoe

  • 6128 Plus
  • ******
  • Posts: 902
  • Country: gb
    • GX4000.CO.UK
  • Liked: 338
  • Likes Given: 187
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #18 on: 12:09, 18 September 20 »
OH wow.
I totally missed that. My bad.
And yes, you have to hold down the keys P L U S and it works! woo! It gets EVEN better!!
Definitely going to feature this on tonight's AMSTREAM on YouTube, especially because it's an Amstrad 464/6128 Plus special tonight - and we have a Plus palette here!

Offline Xyphoe

  • 6128 Plus
  • ******
  • Posts: 902
  • Country: gb
    • GX4000.CO.UK
  • Liked: 338
  • Likes Given: 187
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #19 on: 12:36, 18 September 20 »
A minor thing to report - got to the ending on Type A - the rocket ship taking off is quite glitchy and flickery. Not complaining, just reporting things as I find.
I'm absolutely loving this of course :)

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.805
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2910
  • Likes Given: 1747
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #20 on: 16:57, 18 September 20 »
Dear 40Crisis,

A GB emulator on CPC was a nice challenge "expected" since years.
It is really great to achieve that with Tetris!  8)

Congratulations,

  TotO
« Last Edit: 21:32, 18 September 20 by TotO »
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline Redbug

  • CPC464
  • **
  • Posts: 28
  • Country: be
  • Liked: 36
  • Likes Given: 5
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #21 on: 17:05, 18 September 20 »
Ok..
You break the game :(
My port seems so.... a waste of time...



https://www.facebook.com/redbug/videos/10158439917016668/?t=3
Artisan développeur iPhone/Mac.
CrocoDS - Amstrad emulator for macOS / iOS

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.072
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6285
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #22 on: 17:33, 18 September 20 »
Wait what?

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 662
  • Country: au
    • index.php?action=treasury
  • Liked: 349
  • Likes Given: 225
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #23 on: 17:39, 18 September 20 »
My port seems so.... a waste of time...


Redbug just posted a comment practically saying the same thing about his port after seeing yours  :o

Offline Redbug

  • CPC464
  • **
  • Posts: 28
  • Country: be
  • Liked: 36
  • Likes Given: 5
Re: GB TETRIS EMULATOR TEMU FOR AMSTRAD CPC 6128(+)
« Reply #24 on: 18:39, 18 September 20 »

Redbug just posted a comment practically saying the same thing about his port after seeing yours  :o


?? I don’t understand. You quote me to say that I have said the quote ? ;)
Artisan développeur iPhone/Mac.
CrocoDS - Amstrad emulator for macOS / iOS