English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 07 March 2017, 22:01   #21
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,193
Just finishing up the effect for now so I can stop spamming.

I wanted to get back to amiga coding, so I fixed the screen resolution at 256x184 and optimized/simplified the one-frame version. I ended up with roughly 22 free scanlines, which isn't enough for 4 more chunky lines, but should be fine for music/whatever. Otherwise the tunnel table could be fudged more.

Most of the optimizations came from deciding on a one-frame target and dropping all the complications that came from having to run at a variable (>1) frame rate. The blitter is now started by the copper at the start of each frame and finishes before the first scan line is displayed. Meanwhile the CPU works on the data for the next frame (and instead of preparing proper data for the first frame I just fudge the counter to claim 1-frame). As suggested by chb I'm also outputting in y-scrambled format (line 0 line 4 .... line 1 line 5 ...) and moving around using bplmod.

zip with exe+source attached

EDIT: This version seems to be unstable under my "as fast as possible" setup in WinUAE 3.4.0, so as usual it's probably terribly buggy - save your work before running I only tested OCS+chip ram / cycle-exact
Attached Thumbnails
Click image for larger version

Name:	dma7.png
Views:	135
Size:	23.0 KB
ID:	52398  
Attached Files
File Type: zip tunnel7.zip (66.5 KB, 109 views)

Last edited by paraj; 07 March 2017 at 23:12.
paraj is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmiDEVcpp: Allocating gfxdata in chip mem tolkien Coders. C/C++ 9 22 April 2013 20:21
A600 2 Mb Chip Mem Upgrade (clockport) mikele MarketPlace 7 12 March 2013 07:36
Amiga 500 chip mem Nikolaj_sofus support.Hardware 3 03 September 2010 21:34
Clock port on my A600 chip mem expansion? Frimann support.Hardware 10 18 August 2009 22:07
Need virtual memory for chip mem. Thorham request.Apps 7 28 March 2008 15:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:34.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07266 seconds with 16 queries