Welcome, Guest. Please login or register.

Author Topic: DOSEMU for AmigaOne/AmigaOS 4.0  (Read 5413 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« on: March 26, 2003, 09:50:00 AM »
VBE is MS-DOS only. You can't use it on anything else, since for starters it is written in x86 assembly. Secondly, it is entirely non-portable, since it depends on the int10 mechanism, and you can't even use it under Linux x86 or Windows.
Look out, I\'ve got a gun
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #1 on: March 26, 2003, 12:48:30 PM »
Quote

trgse wrote:
too bad that Amiga-SDL as it is today won't work on Amiga OS 4.0


SDL will run on OS 4.
Look out, I\'ve got a gun
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #2 on: March 26, 2003, 12:49:28 PM »
Quote

I'm not aware of anything that runs on AmigaOS4  :-D


Well, I am.

Sorry couldn't resist :-)
Look out, I\'ve got a gun
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #3 on: March 26, 2003, 01:34:30 PM »
Quote

falemagn wrote:

While it's true that the BIOS extension is DOS-specific, the that's not the only way to access VESA functionalities.


How else would you do it except with the INT10? Sure you could call it directly, but I am not aware of any other API.

Quote

Moreover, once the screen is set up, you only have to access the framebuffer, and hat works regardless of whether you used the int interface or not.


Framebuffer access doesn't have anything to do with VESA, and is equally possible on, say, the Amiga, by locking the bitmap. However, when you have a color-mapped framebuffer then you might need to change the palette, and that is entirely un-portable, as is the rest of the VESA bios.

If you don't want to use SDL or similar, I propose going for a very slim abstraction layer, something that sets the display mode, sets a color palette entry, swaps front- and backbuffer. That's about it, unless you want to bring in user interaction (mouse/keyboard), in which case you'd better off using SDL again, since that isn't covered by VBE either  :-D
Look out, I\'ve got a gun
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #4 on: March 26, 2003, 01:37:12 PM »
Quote

jd997uk wrote:

OH, YEAH? What would you know?
I mean, you'd have to be involved in the writing of OS4 to know something like that.   ;-)  :-D  :-D  :-D
-john


Yeah, well, you got me ;-)
Look out, I\'ve got a gun
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show all replies
    • http://www.hyperion-entertainment.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #5 on: March 26, 2003, 01:43:09 PM »
Quote

bloodline wrote:

Hahhahhahaha!
Yes, sorry about that, I didn't mean that as a nasty jibe.


I didn't take it as such. Note the ";-)"

Quote

The main point of my post was that porting SDL to OS4 should be really easy from the current SDL Amiga port. (Providing OS4 has the same API as 3.1) :-)


Yes, you can compile an OS 3.1 program for OS 4, with a few possible things that needs to be fixed - mostly opening libraries if not done in the startup code, and a few things like interrupt handlers that have changed slightly (you wouldn't want to pass parameters to a PPC function in 68k registers, especially if the 68k is disabled  ;-) )

To the best of my knowledge, someone from the team is already working on porting SDL to OS4.
Look out, I\'ve got a gun