"Tilattiin tuoppi" ported to MSX

By NYYRIKKI

Enlighted (5326)

Аватар пользователя NYYRIKKI

30-07-2019, 22:30

ℋℯℓℓℴ,

During weekend there was a Vammala party in Finland where we competed once again in different compos. This year I didn't really have an MSX entry, but I participated to music compo with my MPF-1.

This song has been now converted to MSX-BASIC. It is not quite as small as original, but it plays the song correctly. This song called "Tilattiin Tuoppi" ended up to 4th place on the music compo:

10 DEFINTA-Z:DIMD(20):FORI=0TO20:READD(I):NEXT:DEFUSR=VARPTR(D(0)):I=USR(0):DATA-20493,24399,4951,2054,27234,10556,10424,4345,31994,-30797,-30905,-32633,16007,-28921,-21549,-19590,8313,3298,1278,-8928,-10472

This is direct execute link for lazy penguins

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By NYYRIKKI

Enlighted (5326)

Аватар пользователя NYYRIKKI

30-07-2019, 22:39

Tip: You can get a MSX-DOS version if you replace the last I=USR(0) with COPY D TO "TTUOPPI.COM"

By zPasi

Champion (414)

Аватар пользователя zPasi

31-07-2019, 20:06

Impressive! LOL!

How does it work?

By NYYRIKKI

Enlighted (5326)

Аватар пользователя NYYRIKKI

02-08-2019, 09:37

Well... my original code in compo was 38 bytes long, so as you might guess there is not really much going on from computer point of view... This is so extremely simple and minimalistic program that it doesn't even use RAM or sound chip at all. Practically we are talking about 19 bit counter, rotate left, multiply by ten and OR... Rest is pretty much just pure magic out of thin air.

By Wild_Penguin

Hero (541)

Аватар пользователя Wild_Penguin

03-08-2019, 12:00

Noice!

My GF says it sounds "Aivan mahtavalta!" Cool

By NYYRIKKI

Enlighted (5326)

Аватар пользователя NYYRIKKI

09-08-2019, 16:53

Wild_Penguin wrote:

Noice!

My GF says it sounds "Aivan mahtavalta!" Cool

Thank you Smile I forgot to say the translation of the title is "We ordered a pint"

By Grauw

Ascended (8322)

Аватар пользователя Grauw

09-08-2019, 17:40

Neat!

And lazy penguin link is appreciated Big smile.

By thegeps

Master (247)

Аватар пользователя thegeps

25-08-2019, 19:45

very cool! Can I post the code on Facebook MSX Italia group? with credits, obviously!

By NYYRIKKI

Enlighted (5326)

Аватар пользователя NYYRIKKI

26-08-2019, 15:30

Yes, naturally... Feel free.