Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
24 crawler(s) on-line.
 132 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 AndreasM:  8 mins ago
 DiscreetFX:  33 mins ago
 Hypex:  41 mins ago
 kolla:  50 mins ago
 Gunnar:  1 hr 2 mins ago
 saimo:  1 hr 51 mins ago
 amigakit:  2 hrs 10 mins ago
 OldFart:  2 hrs 10 mins ago
 _ThEcRoW:  2 hrs 30 mins ago
 NutsAboutAmiga:  2 hrs 57 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  Blitter Emulator
Register To Post

PosterThread
xeron 
Blitter Emulator
Posted on 5-Jan-2007 21:51:14
#1 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

In the thread about OS4's new planar emulation, it was mentioned that a blitter emulator might make a few more old apps work (such as DPaint3 or Brilliance).

Edit: Blitzen 0.3 now seems to work pretty well.

Anyway, click the link below to download and try it. I take no responsibility for anything bad that happens as a consequence of people trying this out.

Info and download page

Last edited by xeron on 06-Jan-2007 at 10:59 PM.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
spotUP 
Re: Blitter Emulator (HELP NEEDED)
Posted on 5-Jan-2007 23:03:07
#2 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@xeron

I really REALLY like the idea of this. =)
It's not like we get that many new serious apps these days, atm we have to rely on the old dogs.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Georg 
Re: Blitter Emulator (HELP NEEDED)
Posted on 5-Jan-2007 23:05:18
#3 ]
Regular Member
Joined: 14-May-2003
Posts: 451
From: Unknown

@xeron

What about looking at blitter emu code in UAE or other software emulating Amigas (like MESS: src/machine/amiga.c)?

 Status: Offline
Profile     Report this post  
xeron 
Re: Blitter Emulator (HELP NEEDED)
Posted on 5-Jan-2007 23:08:09
#4 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@Georg

I looked in the UAE source, but it just made my head hurt. The problem is that UAE takes things like cycle counts into account, which makes the code more complex. Also its part of a much larger application, and without getting my head around the way UAE works in general, just looking at blitter.c is quite difficult.

I'll have a quick look at MESS, too.

Edit: Ooh. MESS' source looks a bit simpler. Thanks.

Last edited by xeron on 05-Jan-2007 at 11:09 PM.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
xeron 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 0:49:31
#5 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

OK, 0.2 is up already :)

Changes:

· Fixed small problem in copy/fill mode. DPaint 3 works a lot better. Its round brushes look correct as long as they're not wider than one word (for some reason, when the circles get wider than 16 pixels, the leftmost word of each line is repeated as if the source pointers aren't updated. Don't know why yet). And its smooth-freehand mode looks a lot better (although not perfect because of the same bug).

· Line mode is implimented using the same algorythm as MESS, but i've not tested it yet (if someone wants to make a program to specifically test it, please do. Just remember to make it a 68k exe otherwise WaitBlit() won't wait for your blits :)

I don't think Brilliance will ever work, though, because it uses full on copper magic.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
utri007 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 3:35:53
#6 ]
Super Member
Joined: 12-Aug-2003
Posts: 1074
From: United States of Europe

@xeron

Put your question to amiga.org and specialist from Finland will tell how and why, pretty soon :)

ask from Piru

Last edited by utri007 on 06-Jan-2007 at 05:47 AM.
Last edited by utri007 on 06-Jan-2007 at 03:40 AM.

 Status: Offline
Profile     Report this post  
brotheris 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 10:27:00
#7 ]
Regular Member
Joined: 4-May-2005
Posts: 193
From: Unknown

@xeron

But will those programs function properly with current OS4 memory system ?

 Status: Offline
Profile     Report this post  
Yo 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 10:36:26
#8 ]
Team Member
Joined: 8-Oct-2004
Posts: 2043
From: France, on an ADSL line

@utri007

So you have now been hired by Amiga.org and Amigans.net to be their 'Lackey Running Dog of Publicity'? I think not, grasshopper....

I believe the people who frequent this and other Forums to have enough intelligence, experience and common sense so to be able to use and access all tools and devices available to them. This includes the excellent info held at this and many other Amiga sites. However, constantly banging on about other sites that we all know exist (eXist?) is rude to the Forum you are using.
So stop it.

_________________
¤¤ Official Hyperion Zealot ¤¤

(No, I didn't type that with a straight face.)

 Status: Offline
Profile     Report this post  
xeron 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 10:36:48
#9 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@brotheris
If they don't overwrite the end of their buffers, or try and read the longword before an AllocVec buffer, sure, why not?

DPaint 3 works better because of Blitzen and it may not be the only app.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
Georg 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 11:45:48
#10 ]
Regular Member
Joined: 14-May-2003
Posts: 451
From: Unknown

@xeron

Quote:
Its round brushes look correct as long as they're not wider than one word (for some reason, when the circles get wider than 16 pixels, the leftmost word of each line is repeated as if the source pointers aren't updated


It's likely that bltaptr is not being used at all for this (so no source pointers to update anyway), but only bltadat which gets set to 0xFFFF and bltafwm/bltalwm to first/last word mask. And if A source is not being used I think the blitter internally needs to always keep bltadat as it was initally (0xFFFF) throughout the whole blit process. So internal bltdat must not be changed during/after blit (no masking with bltalwm/bltafwm). Only some temp/work bltadat "variable".


 Status: Offline
Profile     Report this post  
xeron 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 14:09:39
#11 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@Georg
Ahh. That makes sense. I'll keep a copy of adat before the last word mask is applied and use that to put back into BLTADAT.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
xeron 
Re: Blitter Emulator (HELP NEEDED)
Posted on 6-Jan-2007 22:57:51
#12 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@Georg
You were correct. Blitzen now makes all the drawing tools in DPaint 3 work correctly. DPaint 3 isn't exactly completely usable, though; tools which draw crosshairs or zoomboxes leave trails all over your picture. I don't think they're drawn with the blitter, so that is outside of the scope of blitzen. It also freezes up sometimes, which is annoying.

I now consider Blitzen good enough to be useful, though. Other apps that use the blitter directly on intuition screens should work with it.

So, everyone, download 0.3 and try some old apps and see if it makes them work better. Report here if anything does. Remember to turn on "Planar screens on RTG" in GUI prefs, and make sure that fake native modes are enabled.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
mailman 
Re: Blitter Emulator (HELP NEEDED)
Posted on 7-Jan-2007 14:40:32
#13 ]
Regular Member
Joined: 23-Nov-2003
Posts: 260
From: Poland

@xeron

Guys, could you tell which programs work better or at all with the use of Blitzen?

Last edited by mailman on 07-Jan-2007 at 02:40 PM.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle