05 November 2015, 20:43 | #1 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Copper-driven tile map
Here's a quick example of the technique discussed here:
http://eab.abime.net/showthread.php?t=62682&page=9 This is the closest you can get to a character generator on the Amiga. The Copper program drives the Blitter to do all conversion and drawing of data. Once it's running it's fully automatic, and the user only needs to poke a single byte to update a full tile on the screen. Last edited by Leffmann; 08 November 2015 at 15:35. |
05 November 2015, 22:42 | #2 |
AMOS Extensions Developer
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
|
Thanks for sharing
|
06 November 2015, 04:54 | #3 | |
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Quote:
I haven't had time to look at it yet (but will definitely this week end) but I guess the setup code is assembly? Also, I wonder how feasible it would be to make this OS compatible? After all, this is "just" a big copperlist which graphics.library should be able to merge just fine, so with a little bit of tinkering the OS could maybe be extended into offering text-mode screens. Hum... on second thought that might be tricky since the OS will want to use the blitter at times but I seem to recall that graphics.library allows programs to monopolize it. It is such a shame I have so many others things to do. |
|
08 November 2015, 15:44 | #4 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
The example here claims the display and the Blitter, but leaves the OS and other programs running in the background. The Copper program needs to modify itself every frame for this to work, and you need full ownership of the Blitter, so I'm not sure you can incorporate this into a regular dragable Intuition screen.
I just posted it here since you guys had a discussion on this technique and I had a working example, it's not really worth using since there are more efficient ways of drawing tile graphics. |
09 November 2015, 02:48 | #5 |
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
You're right obviously but the idea of having a fully hardware-based tile mode supported by the OS really sounds really nice to my hears.
I just looked at the code and it is really a nice piece of assembly, short, clear and to the point. I really like the fact that the copper prepares its blit-list entirely autonomously and that there really is no extra fat anywhere. It would be a really good example to use in a "copper and blitter" course. Also, I like your setsystem.sfile, impressively meticulous and exhaustive! Is it available under a particular license? |
11 November 2015, 17:17 | #6 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
setsystem.s is in the public domain, if you'd like to use it.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for Scene (Tile Map) Editor for use with Turbo Plus extension/Amos | Michael Parent | request.Apps | 1 | 14 May 2020 20:10 |
Blitter busy flag with blitter DMA off? | NorthWay | Coders. Asm / Hardware | 9 | 23 February 2014 21:05 |
Codetapper's new graphics, tile, level and map ripper! | Codetapper | project.Maptapper | 56 | 22 June 2013 16:25 |
Tile map sample | Blip | Coders. General | 1 | 18 July 2007 13:53 |
Tile Map Editor | stainy | request.Apps | 4 | 04 April 2007 01:09 |
|
|