Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« on: March 25, 2003, 10:06:14 PM »
Quote

fatman2021 wrote:
I'm working on a VESA VBA program that runs under DOS and would like to use it on the AmigaOne/Amiga OS 4.0..Some video cards like the Gforce4 comes with VESA VBA hardware support.


Give it up!!!! Just get hold of something like DevC++ and the SDL includes, and then use SDL for your program!!!!
SLD is a million times more usable than VBE.

SDL programs are easily portable across platforms, Windoze, Linux, MacOS, AmigaOS3.1, AROS, etc...

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #1 on: March 26, 2003, 12:41:38 AM »
Quote

fatman2021 wrote:
Quote
Give it up!!!! Just get hold of something like DevC++ and the SDL includes, and then use SDL for your program!!!!
I like to use VBE becouse it comes on most of the new video cards. At lest most of the good ones....So if you have any info that can help, by all means tell me. If not, don't post any thing here..... :-x


Seriously, I'm trying to help you.

If you try to program VBE then you are going to have to rewrite your code for every operating system you want to run your program on.

My advice is SDL (http://www.libsdl.org/index.php), this is a hardware independant media layer. I assure you that SDL is far more portable (all modern Operating systems support it), much faster (it uses graphics hardware acceleration, where VBE can not) and so much easier to use than directly hitting a VBE card.

Here is a part of the SDL FAQ:

Q: What is Simple DirectMedia Layer?
A: Very simply, Simple DirectMedia Layer, or SDL for short, is a library that allows you low level access to a video framebuffer, audio output, mouse, keyboard, and joysticks across a wide variety of operating systems.


Oh, and it supports 3D acceleration via the OpenGL API

Sounds good doesn't it  :-)

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #2 on: March 26, 2003, 01:17:08 AM »
Quote

Hammer wrote:
@bloodline

(Just recalling) In general terms, the SDL is dependant on host OS’s 2D acceleration support...(correct me IF I'm wrong, since I haven't touch SDL for a while).


Yes indeed, it basicly uses the best possible graphics system availiable on the Host OS.
I'm a very new convert to SDL, it was only when I decided to start a project I wanted to build on a few Windoze machines, but plan to run on a Linux machine, did I really see how good it was!!! :-o

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #3 on: March 26, 2003, 10:57:13 AM »
Quote

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


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

Sorry couldn't resist,  Seriously though, it really wouldn't take long to port SDL from the current AmigaOS 3.1 to AmigaOS 4 (once AOS4 is actually available to the general public).

The AROS port didn't take long to get working... and that was done as a hobby!!! Though it still needs a bit of work.  :-P

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #4 on: March 26, 2003, 01:03:57 PM »
Quote

Rogue wrote:
Quote

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


Well, I am.

Sorry couldn't resist :-)


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

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) :-)

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #5 on: March 26, 2003, 03:20:55 PM »
Quote

Rogue wrote:
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.


Good, I'm glad you didn't take offence, I don't want any bad feeling between our respective groups  ;-)

I would be surpised if you were not porting SDL, it would make your lives much easier when porting games to other alternative platforms, like Mac, Linux and um... AROS  :-D  

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: DOSEMU for AmigaOne/AmigaOS 4.0
« Reply #6 on: March 27, 2003, 10:31:23 AM »
Quote

fatman2021 wrote:
You know what I would like to do is no different then requiring AmigaDE Player over Windows over DOS to run AmigaDE games on a PC, or requiring someone to run Windows over DOS to run a Windows Game, or Java over AmigaOS 3.9 to run a Java game.


So you do want to use SDL then?  :-?