Heaven/TQA Posted March 27, 2016 Share Posted March 27, 2016 (edited) just to give you an idea how fast the Voxel engine of Arsantica 3 is.... here is a quick hack at Revision party with joystick movement... bear in mind that is not physical correct but I will implement next couple of days RoF like controls... did I say after demo is prior the next demo? ;=) added the packed version which should work from any dos. voxelflight_interactive.xex voxelflight_interactive_packed.xex Edited March 28, 2016 by Heaven/TQA 21 Quote Link to comment Share on other sites More sharing options...
8Bitjunkie Posted March 28, 2016 Share Posted March 28, 2016 VERY cool! 1 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted March 28, 2016 Share Posted March 28, 2016 This would be awesome if it wasn't full of illegal opcodes. It won't run at all for me, or anyone who has an upgraded CPU. Quote Link to comment Share on other sites More sharing options...
TheNameOfTheGame Posted March 29, 2016 Share Posted March 29, 2016 Nice effects! Has a cool Rescue on Fractalus feel, but fresher graphics! :thumbsup: 1 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 29, 2016 Author Share Posted March 29, 2016 I will Post later a version without LAX usage... 2 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted March 29, 2016 Share Posted March 29, 2016 I will Post later a version without LAX usage... Thanks! Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 29, 2016 Author Share Posted March 29, 2016 (edited) that's basicly the core of processing one voxel... now let me know how to make it without ;=) the first LAX can be turned into a LDA TAX but the handling the EOR-filler stuff...get's tricky ;=) any ideas? ldx angle lda offsettabhi+#*256,x sta di+1 ldy offsettablo+#*256,x lax (di),y lda persptab+#*100,x cmp miny bcs @+ sta miny iny lax (di),y ldy miny eor eor_nibble sta collumbuffer,y stx eor_nibble Edited March 29, 2016 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
MaPa Posted March 29, 2016 Share Posted March 29, 2016 I don't understand what's the problem? I thought that every LAX can be turned into LDA & TAX, not just the first one Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted March 29, 2016 Share Posted March 29, 2016 I don't understand what's the problem? I thought that every LAX can be turned into LDA & TAX, not just the first one Presumably LDA and TAX are too slow in other areas. 1 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 29, 2016 Author Share Posted March 29, 2016 (edited) lax (di),y ldy miny eor eor_nibble sta collumbuffer,y stx eor_nibble MaPa... that is the most interesting part... attachted the "you can fly around but not turn yet" version in unoptimised code voxelflight_interactive_packed.xex Edited March 29, 2016 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
MaPa Posted March 29, 2016 Share Posted March 29, 2016 (edited) lax (di),y ldy miny eor eor_nibble sta collumbuffer,y stx eor_nibble MaPa... that is the most interesting part... And... ? Still don't get it, maybe I'm just dumb Just replace the LAX with lda (di),y & tax... Or you care about it being slower? Who cares Who has an ATARI computer will use your original code with LAX.. If anyone has some pseudo ATARI computer then it will be slower but he can run it in faster mode or not? I just don't care Edited March 29, 2016 by MaPa 4 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 29, 2016 Author Share Posted March 29, 2016 (edited) LAX will load both A,X and A gets prepared for the EOR filler of the voxel filling routine, while X preserves the original value which needs to be set for the next pixel and saves cycles... and in a software renderer every cycle per pixel counts... attachted without LAX. voxelflight_interactive_packed_wo_lax.xex Edited March 29, 2016 by Heaven/TQA 1 Quote Link to comment Share on other sites More sharing options...
MaPa Posted March 29, 2016 Share Posted March 29, 2016 aaaaaaand? So it will be slower. That's the price for trying to run software intented for ATARI 8bit computers on other platforms Btw. I don't know how your code looks, but I assume it's unrolled, so you could have somtehing like this (alternating 2 variables instead of one in two consecutive pixels): lda (di),y sta eor_nibble2 ldy miny eor eor_nibble sta collumbuffer,y ... lda (di),y sta eor_nibble ldy miny eor eor_nibble2 sta collumbuffer,y Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted March 29, 2016 Share Posted March 29, 2016 LAX will load both A,X and A gets prepared for the EOR filler of the voxel filling routine, while X preserves the original value which needs to be set for the next pixel and saves cycles... and in a software renderer every cycle per pixel counts... attachted without LAX. Thanks for the file, but I still can't get it to run properly on Altirra unless I set it to 6502 with illegal opcodes enabled. It also crashes on real hardware (800 Incognito w/ 65c802). I can't overstate how much I appreciate your effort to make this work. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 30, 2016 Author Share Posted March 30, 2016 (edited) Oh.... It's XL so it needs 56k ram... Not sure if your 800 is compatible with the XL model.... And will have a look if I got another opcode in the code somewhere.... But fx relies heavy on RAM under OS and works In Altirra? (But not 800) Edited March 30, 2016 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted March 30, 2016 Share Posted March 30, 2016 It's fully compatible with XL/XE. RAM under OS, and all. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 30, 2016 Author Share Posted March 30, 2016 ok. but should work in Altirra though.... but honestly I am focusing on controls and not making it compatible at this stage. Quote Link to comment Share on other sites More sharing options...
Bryan Posted March 30, 2016 Share Posted March 30, 2016 It would be cool to have an 65816 core that starts in a 6502 mode instead of a 65C02 mode. Quote Link to comment Share on other sites More sharing options...
Jinroh Posted March 30, 2016 Share Posted March 30, 2016 Oh very cool! I love voxel terrains, one of my favorite engines to code for random platforms. I can't wait to try it out on real hardware when I get home. :3 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 31, 2016 Author Share Posted March 31, 2016 (edited) If someone has a good idea for the controls let me know. We have X,y movement plus turns.... I have in mind something like rescue on Fractalus. Koronis rift would not fit as we are flying? Need to check eidolon thou. Edited March 31, 2016 by Heaven/TQA Quote Link to comment Share on other sites More sharing options...
emkay Posted March 31, 2016 Share Posted March 31, 2016 (edited) Let's see, if we can have a "fly around the peak of a hill" keeping the peak in the center of the screen... Move forward "Joystick forward" Turn left "select" Turn right "option" Move left "Joystick left" Move right "Joystick right" Break "Joystick back" Speed of Movement (if possible) 0-9 So you could use 3 different controls at the same time. Edited March 31, 2016 by emkay Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 31, 2016 Author Share Posted March 31, 2016 the question is if it would be possible to do it with 1 joystick alone... but still not found a suitable solution for digital joystick. Quote Link to comment Share on other sites More sharing options...
Goochman Posted March 31, 2016 Share Posted March 31, 2016 Me thinking about Moon Patrol 2000 on the Atari 8bit with this 1 Quote Link to comment Share on other sites More sharing options...
Matej Posted April 13, 2016 Share Posted April 13, 2016 Hello Heaven. Can you make bigger voxels in lower res? Something like this? Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 13, 2016 Author Share Posted April 13, 2016 Matej... me not... as your "Mindcraft" voxel is basicly raymarching? so "real 3d"... we are talking here about commanche voxels... so "prior" mindcraft area... and basicly here you go I found it already low-res so I would not go even "lower". I got some ideas in having "asteroids like" controlls with thrust and turning. but at he moment I am more exploring c64 "power". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.