OS4 DepotLogo by DaveyD 
(anonymous IP: 216.73.217.65,2481) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (349)
   o Datatype (51)
   o Demo (206)
   o Development (621)
   o Document (24)
   o Driver (101)
   o Emulation (155)
   o Game (1035)
   o Graphics (514)
   o Library (120)
   o Network (240)
   o Office (67)
   o Utility (954)
   o Video (74)

Total files: 4511

Full index file
Recent index file

 Links

  Amigans.net
  Aminet
  IntuitionBase
  Hyperion Entertainment
  A-Eon
  Amiga Future


Support the site


 Readme for:  Demo » Intro » planetpotion.lha

planet potion

Description: Planet Potion demo patched/fixed for OS4
Download: planetpotion.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 152kb
Version: 1.0
Date: 13 Jun 2026
Author: Potion , os4 patch by kas1e
Submitter: kas1e
Email: kas1e/yandex ru
Homepage: https://github.com/kas1e?tab=repositories
Requirements: AmigaOS4 machine with working Warp3D and ReWarp libraries
Category: demo/intro
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 13852
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
To make the demo work you need:

1). https://os4depot.net/share/library/misc/rewarp.lha
Both libraries, powerpc.library 18.1 and Warp3DPPC.library 4.5, must be
installed in LIBS:, otherwise the demo will crash.

2). A working Warp3D setup: Nova + NovaBridge for RadeonHD/RadeonRX, or the R200
Warp3D driver for older Radeon 9xxx cards.

Keep in mind this is NOT an official release from Potion. 
It is the original version, disassembled and patched to run natively on AmigaOS
4, with several additional improvements and fixes.


## What was improved and fixed:

1. Hunk/BSS/Data relocation fix:
   The original intro expected additional hunk data in a way that caused
problems on OS4/WarpUP.
   Making some additiona hunk copies into extended bss space with redirection
pointers fixes  major crash/memory layout issue.

2. r10 preservation fix:
   Some scene wrappers relied on the incoming r10 register holding the scene
pointer: calls made inside those wrappers could
   clobber r10 on OS4/WarpUP, so few of them were fixed to save and restore r10
through stack.

3. Embedded native OS4 dbplayer.library

  The original intro contained an embedded 68k version of dbplayer.library,
which was unpacked and executed from RAM.
  It has been replaced with a native OS4 version built specifically for this
patch: instead using "blocking" low-level AHI
  interfaces, it now uses a high-level device interface approach. The library is
also used as a place for native OS4 code
  implementing the additional features added to the demo, see below.

4. Compositing and window mode support.

 noargs : original fullscreen 640x480 mode.
 -win   : centered 640x480 window
 -comp  : The intro detects the current Workbench screen size and opens a
matching screen.
 -win -comp: Open compositing resiazable window in center. 
 
 5. Native OS4 input handling

 Added RMB and ESC support for exiting in fullscreen mode.
 Added ESC and Close Gadget handling in window mode.
 Iconify gadget when in window mode (be it original or compositing based ones)
 Added F11 (and mirrored F10) for switching between fullscreen and window mode
(works only when running in compositing mode).

6. Fog rendering fix

 Fixed a fog-related issue that caused scenes 11 through 22 to render
incorrectly.

7. Fixed W3D_DrawLineStrip diffrences between Bvision/Radeon200/NovaBridge


 The original intro uses W3D_Lines.linewidth set to 0.0f in some scenes. R200
and BVision/CVision render such lines as if they
 were 1.0f wide, while NovaBridge drops them completely and renders nothing. The
patch changes the value to 1.0f. This causes no
 issues on drivers where the original behaviour already worked, while fixing
rendering differences on other drivers.

 Tested on:
 
 * Pegasos II + Radeon 9250 (FE Update 3) via original r200 driver
 * Pegasos II + Radeon RX (via PCI-to-PCIe bridge, FE Update 3) via NovaBridge
 * AmigaOne X1000 + Radeon HD Oland (FE Update 2) via NovaBridge
 * AmigaOne X1000 + Radeon HD Verde (FE Update 2) via NovaBridge
 * AmigaOne X5000 + RadeonRX Polaris 11 (FE Update 3) via NovaBridge
 * Sam460 + RadeonRX 560 (FE Update2) via NovaBridge


Have fun and never say never !

(c) kas1e, 12.06.2026




Copyright © 2004-2026 by Björn Hagström All Rights Reserved