Free your creativity - IOMBCC

Página 16/29
9 | 10 | 11 | 12 | 13 | 14 | 15 | | 17 | 18 | 19 | 20 | 21

Por NYYRIKKI

Enlighted (6067)

Imagen del NYYRIKKI

14-04-2005, 14:34

Here is yet another entry...

This program can be used to change CPU mode on MSX tR.

3608 DEFUSR=-32749:IFUSR(0)THENLINE>2COPY0&H80F6OR384BASE!!

Change number after "LINE>" like this:
0 = Z80 (ROM)
1 = R800 (ROM)
2 = R800 (DRAM)

This program has also another special feature... If you save this program with .COM extention, you can use it on MSX-DOS as well. Smile

Example:

SAVE"R800.COM"
_SYSTEM
R800

Por NYYRIKKI

Enlighted (6067)

Imagen del NYYRIKKI

14-04-2005, 15:13

Here is version, that should not give me minus points as it works from any address...

8728 DEFUSR=38+PEEK(-2442)+PEEK(-2441)*256:IFUSR(0)THENLINE>2COPY0&H80F6OR384BASE!!

Por Arjan

Paladin (787)

Imagen del Arjan

14-04-2005, 16:59

Hehe, I was just thinking you wouldn't get any bonus points but then you came up with an even more insane version Tongue

Por Manuel

Ascended (19461)

Imagen del Manuel

14-04-2005, 19:42

/me drops his jaw to on the floor...

Por dvik

Prophet (2200)

Imagen del dvik

14-04-2005, 20:00

My MSX started to smell funny after I ran your entry Wink

Por NYYRIKKI

Enlighted (6067)

Imagen del NYYRIKKI

15-04-2005, 12:05

Ok, here is the latest version Wink

8728 DEFUSR=38+PEEK(-2442)+PEEK(-2441)*256:IFUSR(0)THENLINE>2COPY0&H80F6OR384ALLYOURBASEAREBELONGTOUS!

Dvik: You really should not eat on top of your MSX Smile

Por Sonic_aka_T

Enlighted (4130)

Imagen del Sonic_aka_T

15-04-2005, 14:52

hehe ^_^

Por snout

Ascended (15187)

Imagen del snout

15-04-2005, 19:10

Say euhm.. Nyrikki... could you explain how the $#%*&$* this works? I'm clueless Wink

Por Guillian

Prophet (3517)

Imagen del Guillian

15-04-2005, 21:00

I think he reads the pointer to the basic program (#f676 + 256*#f677), then add a offset of 38 bytes(used by the real basic program) and then executes a clever Z80 code defined with BASIC tokens and data.

Por dvik

Prophet (2200)

Imagen del dvik

15-04-2005, 21:14

Yes it isn't really an MSX basic program. It is just a reverse basic of a small program that sets the CPU mode. Asembler code is usually not allowed in basic contests so I doubt that this entry would count although the idea is brilliant and the entry looks very good Smile

Página 16/29
9 | 10 | 11 | 12 | 13 | 14 | 15 | | 17 | 18 | 19 | 20 | 21