Jump to content

128KB raycaster engine WIP


Recommended Posts

Finally got some time this weekend to finish the preview for 128KB raycaster engine.

 

features:

-resolution: 80x48

-fish eye correction

-proper wall slice scaling

-fully adjustable controls

-reworked weapons with (very) short animations

 

1. pick one of control presets or define custom controls

v16b.png.f1e23a06bd685d7439da385e7d219e11.png

 

2. press ESC for 'game' (there's no game yet but you can walk around, switch weapons and shoot)

v16a.png.3ead706751202b5e724107f348a7c3d0.png

 

3. press START+SELECT+OPTION to switch between 'full' pixels and 'every other line is black' mode (there's roughly +5 fps gain with the later)

4. press START+SELECT+OPTION+some key to get back to Controls setup screen

 

This is early work in progress so a lot of stuff just isn't there yet.

 

It's both a preview and new controls test so if you find something not working properly as far as controls are concerned let me know.

One feature that is missing is Settings screen so for now the fast turning has fixed speed, but in later versions it will be user-adjustable, also it will be possible to set fast turning as default.

Other features in Setting screen will include weapon bobbing toggle, cross hair toggle, floor/ceiling presets + customization and more.

 

Globe/GMG

 

ps: It's probably clear from the title but the .XEX will only work on Atari 130XE and compatible with 128KB RAM or more.

eng128 v16.xex

  • Like 26
  • Thanks 4
Link to comment
Share on other sites

58 minutes ago, TGB1718 said:

Can't get it to run, 130XE, U1M, SIDE3 says Memory Conflict even with the 'X' before the command.

 

Disabled SDX and booted a SDX floppy , system crashed immediately.

I don't have U1M yet so I can't test on real HW, but I read couple of posts mentioning XEX files loading too low getting 'memory conflict' error (this one starts loading from $0f00) so I rearranged some stuff and now it's loading from $2000.

Let's see if that helps.

mem conflict v16.xex

  • Like 2
Link to comment
Share on other sites

18 minutes ago, TGB1718 said:

I've even tried a stock 130XE, BASIC disabled and it still crashes

That's strange. What device did you use for loading?

I tested with AVG cart and SIDE3 and both worked on stock 130XE.

  • Like 1
Link to comment
Share on other sites

1 minute ago, globe said:

That's strange. What device did you use for loading?

I tested with AVG cart and SIDE3 and both worked on stock 130XE.

Was using Altirra, loading DOS on D1:, your file from D4:

 

Just tried the memory conflict one, this time it seems to load, before it only loaded a few sectors then crashed,

now still crashes after what I assume is a full load.

 

I'll go back and disable SDX and U1M and try again

Link to comment
Share on other sites

ah emu isssues, figures. Need way more info when dealing with these since there are a ton of option, configs, and roms/os etc used in them...

hopefully it is set with real OS rom images etc and everything is set to a real systems true nature.

Link to comment
Share on other sites

8 minutes ago, TGB1718 said:

Was using Altirra, loading DOS on D1:, your file from D4:

Try ALT+B or through menu File -> Boot Image and pick the XEX (xex switches off Basic, no need to do it manually)

I have Altirra set to PAL 130XE with firmware ATARI XL/XE OS ver.2

Link to comment
Share on other sites

atari800 -xe "eng128 v16.xex"

 

Works fine, and looks good!

 

 

Edit:

 

$2000 - $201f
$02e2 - $02e3    INITAD: $2000
$0f00 - $753f
$8000 - $800a
$02e2 - $02e3    INITAD: $8000
$4000 - $4d42
$5000 - $5423
$7c00 - $800a
$02e2 - $02e3    INITAD: $8000
$4000 - $bcc2
$02e0 - $02e1    RUNAD: $b447
 

You cannot load this from DOS. You need a small loader, like MyPicoDOS. It should also boot fine from AVG, Uno, Side, and also SIO2PC/Respeqt.

 

Edited by ivop
  • Like 2
Link to comment
Share on other sites

18 hours ago, TGB1718 said:

Nope, nothing seems to work for me, sorry

I get the first XEX loading low won't work,  but no idea why the 'fixed' one starting at $2000 won't, hard to debug when it works here.

I'll try to make one more xex starting even higher when I have time.

  • Like 1
Link to comment
Share on other sites

15 minutes ago, globe said:

I get the first XEX loading low won't work,  but no idea why the 'fixed' one starting at $2000 won't, hard to debug when it works here.

I'll try to make one more xex starting even higher when I have time.

both versions work fine. if someone has a problem with it, it's not a problem with the game. If they can't run it, just copy the game to a atr with xBIOS - it will run right away.

  • Like 1
Link to comment
Share on other sites

18 hours ago, MrFish said:

I'm not able to run it in Altirra (black screen) or Atari800Win PLus (crashes) either.

 

18 hours ago, TGB1718 said:

Nope, nothing seems to work for me, sorry

 

If you don't mind, post your Altirra.ini files, and I'll try to check what's different.

 

Mine's attached but can't be used without some changes because of settings like this: "Kernel path" = "D:\\work\\atari\\wudsn\\Tools\\EMU\\Altirra\\ATARIXL.ROM" that would require editing the path so it points where your Altirra is installed.

 

Tried to run both XEX files in A800Win+ and they work so there must be some config issue.

a800.thumb.png.e5a8883782697d4fc7dfdabca8b11154.png

 

Globe

 

Altirra.ini

Link to comment
Share on other sites

55 minutes ago, globe said:

If you don't mind, post your Altirra.ini files, and I'll try to check what's different.

 

25 minutes ago, TGB1718 said:

Where is this file, I've run a search and can't find any "Altirra.ini" files

Just found out, mine is running in Registry Mode, so no .ini file

Link to comment
Share on other sites

I have it running in Altirra now. It will only run when I have the emulator specifically set to any of the following

128 KB of RAM (130XE)

256, 320, or 576 (Compy)

 

It doesn't like any Rambo memory config, or the 1088 KB RAM setting.

 

I imagine it's the same problem with running it in Atari800Win PLus too [Edit: verified...].

 

  • Like 2
Link to comment
Share on other sites

I copied both versions onto SIDE 3, used the Loader to run the .XEX's still crashes no matter what

memory config I try, I checked with some games to make sure the SIDE 3 was working and they

loader fine.

Link to comment
Share on other sites

23 hours ago, globe said:

features:

-resolution: 80x48

-fish eye correction

-proper wall slice scaling

-fully adjustable controls

-reworked weapons with (very) short animations

 

3. press START+SELECT+OPTION to switch between 'full' pixels and 'every other line is black' mode (there's roughly +5 fps gain with the later)

4. press START+SELECT+OPTION+some key to get back to Controls setup screen

 

Pretty smooth rendering. A little sluggish in NTSC, by comparison; but NTSC framerate is fine with every-other-line rendering mode.

 

The weapon discharge animation are cool.

 

Interestingly, if I start in NTSC and then switch to PAL without restarting, PAL will run @ ~ 30 FPS in full pixel rendering mode (no need switching to every other line rendering mode).

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...