Raycasting on msx2 screen 5

Pagina 2/27
1 | | 3 | 4 | 5 | 6 | 7

Van ARTRAG

Enlighted (6330)

afbeelding van ARTRAG

10-08-2009, 20:10

Press space

Van PingPong

Prophet (3499)

afbeelding van PingPong

10-08-2009, 22:02

to improve the speed one could need a fast floating point package, with less precision like the one implemented on XBasic Kun.
or
a fixed point math package...
@Artrag: have you idea of the number of decimals needed to get a decent result?
Maybe a 24 bit value is ok for all calculations? (better will be 16 bit but i think is too small)

Van jltursan

Prophet (2256)

afbeelding van jltursan

10-08-2009, 22:04

Extremely cool proof of concept!, too bad that indeed it runs also extremely slow.
Maybe it can be improved in some ways...

Van Leo

Paragon (1236)

afbeelding van Leo

10-08-2009, 22:10

very slow indeed , 24 bits seems huge even 16bit should be more than enough.
a wall is hardly more than a 64 point ( 6 bits )

Van PingPong

Prophet (3499)

afbeelding van PingPong

10-08-2009, 22:15

time ago, i've found a fixed point math package for z180 easily usable on z80 that comes in the form of asm source code.
the only problem is that use mlt instruction on z180, unavailable on the z80, but replaced by a sw implementation that multiply b and c.
On the R800 there is no problem, however.

Maybe it's usable. there is also an explanation of how numeric data is stored in 24 bits.

look here:
http://jwhitham.org/em180/mcp/

Van ARTRAG

Enlighted (6330)

afbeelding van ARTRAG

10-08-2009, 22:24

Van pitpan

Prophet (3131)

afbeelding van pitpan

10-08-2009, 23:23

Fixed point required! I assume that the original Wolfenstein used fixed point instead of floating point, 'cause it ran fine on an intel 80286 without i80287 (floating point coprocessor). Anyway, it's so cool to see such a proof of concept alive and kickin' Wink Congrats, Artrag!

Van pitpan

Prophet (3131)

afbeelding van pitpan

10-08-2009, 23:39

And what about screen 3? That could be IRIEGAS 2!

Van ARTRAG

Enlighted (6330)

afbeelding van ARTRAG

11-08-2009, 00:37

with black outlines and some clipping error removed

https://sites.google.com/site/testmsx/msx2-doom/D%7BSCC%7D.BIN?attredirects=0

PS Rename the BIN to ROM to use drag&drop in emulators
space to start, arrow keys to walk

Van ARTRAG

Enlighted (6330)

afbeelding van ARTRAG

11-08-2009, 01:46

on C64 there is MOOD: http://noname.c64.org/mood/screenshots.php
You can download it on this same website
On ViCE it works like a charme, with sprites, bitmaps and SFX at about 10-15 fps....

It should be possible to do the same on a z80 at 3,5Mhz...
the c64 has a 6502 at 1MHz IIRC

Pagina 2/27
1 | | 3 | 4 | 5 | 6 | 7