looking for a pixel flood fill routine

Here you can ask questions or provide insights about how to use efficiently 6502 assembly code on the Oric.
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: looking for a pixel flood fill routine

Post by Dbug »

Hmm, optimizing The Hobbit may be tricky: Pretty much all the memory appears to be modified, the question is how much is actually required after the game has loaded:

User avatar
iss
Wing Commander
Posts: 1641
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: looking for a pixel flood fill routine

Post by iss »

@Dbug: Attached is all I've found about 'The Hobbit'.
the_hobbit.tap and Hobbit, The (UK) (1982).tap are the same (size: 36212, crc32: c164a97c). I think the loading routine is broken for Atmos mode.
the_hobbit-full.tap - is working in Oric-1 and Atmos (this was made to avoid multipart tap, the same are both DSK's).
Attachments
the_hobbit-archive.zip
(2.46 MiB) Downloaded 140 times
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: looking for a pixel flood fill routine

Post by Dbug »

Thanks to ISS's DSK version, I've been able to do a first patching of the game :)

User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: looking for a pixel flood fill routine

Post by Dbug »

I finally spent a bit of time on finishing an article about Flood Fill, at the end there's a working routine which should not be too difficult to integrate in a project.

https://osdk.org/index.php?page=articles&ref=ART18
User avatar
coco.oric
Squad Leader
Posts: 720
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: looking for a pixel flood fill routine

Post by coco.oric »

Interesting article. Thanks for sharing
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
Symoon
Archivist
Posts: 2307
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France

Re: looking for a pixel flood fill routine

Post by Symoon »

Glad to see you carried on with the subject!
Cool sum-up (no, this is not a Bananarama song :lol: ).
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: looking for a pixel flood fill routine

Post by Dbug »

The thing is, most of the article had been written already last year, but I was waiting for some more stuff (mostly the Lorigraph vs Master Paint comparison), and then "live happened" and it had been laying in its "work in progress" state since then.
Post Reply