Free your creativity - IOMBCC

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

Por NYYRIKKI

Enlighted (6067)

Imagen del NYYRIKKI

17-04-2005, 05:23

I'll explain...

In DOS the BASIC header, lenght of the line and line number cause following program appear:

RST #38 ; Just a fake interrupt
LD C,B
LD A,B
JR #127 ; This is the address where actual program will be loaded in DOS

DEFUSR=38+PEEK(-2442)+PEEK(-2441)*256:IFUSR(0)THEN

This is pure BASIC. Because this program does not change the output of USR, 0 will be returned back and as we know 0 = False, so rest of the line will not be executed in BASIC.

THENLINE>2COPY0&H80F6OR384

This is the ML program, in assembler it would look like this:

XOR A
XOR #13
SUB #11
INC C
OR #80
RST #30
DB #1C ; A bit weird looking Slot ID, but it works as bits 0,1 and 7 are 0
DW #180

ALLYOURBASEAREBELONGTOUS!

Smile Just "BASE" is important here (RET) rest is just pure humor Smile

Ps. Dvik: Assembler is allowed in this compo (rules are on page 1)

Por dvik

Prophet (2200)

Imagen del dvik

17-04-2005, 06:54

Thanks for the explanation, I ran the program in a debugger and got the assembler listing and kindof figured out how it worked.
It is a very clever program and I like it a lot (and I missed the asm rule, sorry)

Por snout

Ascended (15187)

Imagen del snout

17-04-2005, 13:29

dvik/Nyyrikki - Can we expect more updates to Rally-X? Smile

Por Manuel

Ascended (19461)

Imagen del Manuel

17-04-2005, 15:48

(never mind...)

Por snout

Ascended (15187)

Imagen del snout

17-04-2005, 15:54

?

Por Manuel

Ascended (19461)

Imagen del Manuel

17-04-2005, 15:59

This is BASIC, man. Of course it's dead slow! Smile

If you don't have all the time in the world, here is raped version, that works on X-BASIC as well...

Hey, this helps a lot! Especially on R800 it is reasonably fast Smile THanks! (I missed this one...)

Por dvik

Prophet (2200)

Imagen del dvik

17-04-2005, 18:24

dvik/Nyyrikki - Can we expect more updates to Rally-X?

I'm pretty satisfied with rally-x now. I'm not sure if nyyrikki has some more ideas.

Por Manuel

Ascended (19461)

Imagen del Manuel

17-04-2005, 18:56

btw, at a certain depth, the fast version of Mandelbrot seems to loose details... Is that possible?
If you like, I can e-mail some screenshots Smile

Por Manuel

Ascended (19461)

Imagen del Manuel

17-04-2005, 18:57

About rally-x: I'd like a scrolling landscape above the horizon Smile

Por dvik

Prophet (2200)

Imagen del dvik

18-04-2005, 02:37

It would be nice to have a scrolling horizon. I have an idea on how to do it without slowing down the game but I'm not sure if I can make it with few enough characters of code.
On the other hand I guess we can make a less fancy ending. after all, it uses about 15% of the total number of characters. Maybe it is more fun to have scrolling mountains or something in the horizon than a fancy ending.
I'll see what I can do.

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