1K hires : Fruit Machine Simulator

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

1K hires : Fruit Machine Simulator

Post by dr beep »

Thanks to Shaun Bebbington
I am working now on a fruit machine simulator in 1K hires.

So far: the 10 graphics for the rolls ready and a bit larger screen to show them all correctly.
Next thing: real rolling of the rolls.

The 10 UDG are 13x2 in size and fit 256 bytes (4 bytes compressed)
FM UDG.png
(64.48 KiB) Downloaded 309 times
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires : Fruit Machine Simulator

Post by dr beep »

Video of work in progress
https://youtu.be/8sgLgS4mXFY
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: 1K hires : Fruit Machine Simulator

Post by sirmorris »

There's no stopping you! :D
Moggy
Posts: 3267
Joined: Wed Jun 18, 2008 2:00 pm

Re: 1K hires : Fruit Machine Simulator

Post by Moggy »

dr beep wrote: Thu Mar 30, 2017 7:01 pm Video of work in progress
https://youtu.be/8sgLgS4mXFY
Jesus H. Chrysler!!! :shock:
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires : Fruit Machine Simulator

Post by dr beep »

Now rolling with stop per roll ready.

Next to do: add holdbutton and hold the rolls.
Lardo Boffin
Posts: 2173
Joined: Sat Nov 26, 2016 2:42 am

Re: 1K hires : Fruit Machine Simulator

Post by Lardo Boffin »

That is awesome and makes me very jealous of your programming abilities! :mrgreen:
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires : Fruit Machine Simulator

Post by dr beep »

First "Gameplay".

Just let them roll.... no winning or HOLD yet...

Just press Newline for next go.
FM_test.p
(650 Bytes) Downloaded 145 times
Moggy
Posts: 3267
Joined: Wed Jun 18, 2008 2:00 pm

Re: 1K hires : Fruit Machine Simulator

Post by Moggy »

I cannot believe this is 1k.

A trick surely! :o
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires : Fruit Machine Simulator

Post by dr beep »

Moggy wrote: Fri Mar 31, 2017 2:55 pm I cannot believe this is 1k.

A trick surely! :o
All 1K hires use some kind of trick in the display.

This is rather simple.
Notice the gap between the rolls.
The next UDG is fetched in that time and then showed 2 bytes. After showing entire line the UDGS-display is increased to the next line and shown.

For rolling effect the UDG-bank is skipped 1 position each time.
Since the UDG's fit 256 bytes they go around to 0 by increasing from 255 to 0, making it a roll.
Moggy
Posts: 3267
Joined: Wed Jun 18, 2008 2:00 pm

Re: 1K hires : Fruit Machine Simulator

Post by Moggy »

genius pure genius well done sir. :ugeek:
Post Reply