Welcome, Guest. Please login or register.

Author Topic: 68k AGA AROS + UAE => winner!  (Read 26305 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: 68k AGA AROS + UAE => winner!
« Reply #14 from previous page: April 14, 2004, 11:05:09 AM »
Quote

>>It would certainly be a great thing to have AROS running Nativly on the A1.

>The PPC Linux hosted version of AROS is coming on rather quickly thanks to Markus,
>who is resolving some stack issues, and attempting to get the Graphics drivers
>to work.

for me the word Linux is underlined here,

can this Linux work be reused in a directly A1 booting AROS?


Yes, when you think of AROS Hosted, think of Linux as a Hardware abstraction layer. Running AROS on Linux can be thought of as the same as running AOS3.1 in UAE.

While AROS is running on Linux one can work out all the bugs and issues. Then you can add the Firmware boot code and boot AROS on it's own.

It should be noteed at 99.9% of the AROS source code is cross platform, it's just the CPU specific/ASM stuff that needs reworking.

Quote

I feel if I buy a PC I am a turncoat or traitor, however if AROS directly
boots ie no Windows and its not Intel then maybe thats better than
using IBM PPC on the A1?

Its strange that IBM are now "good" and Intel are "bad",

Having read the book "Big Blue" IMO IBM are anything but good,

and there is no basis for thinking Intel are "bad": Intel never
did anything "bad",

MS OTOH IMO are bad,


To be honest, the "good"/"bad" lables are a redundant conceptual model. Nothing is good or bad, things fall into two categories, "Usefull" and "Useless" with respect to your requirements.
Windows for example is "Useless" if I want to use an OS that looks and feels the way I want an OS to look and feel, but it is "Useful" is I want to run a certain peice of software.
When choosing hardware you must first consider what your requirements are, then choose what is useful and at the cheapest price. Ignore religious/political issues like "brand" and "make", these things are unimportant when it comes to technology.



Quote

How clean is PC AROS boot?

(the cleanness of the PPC AROS boot appeals to me),


Re PC AROS if I have understood you:

1. I buy a PC,
2. I download AROS,
3. I directly boot AROS?
4. I run UAE above AROS for full 68k compatibilty?

Is this correct?


Yes, just download the AROS CD image, burn that to a CD-ROM, then put that in the CD drive, turn the PC on... AROS will boot and run by itself.
You will presented with an early startup menu allowing you to select certain hardware options (good news if you have a Nvidia gfx card), or you can ignore them and it will boot after 5 seconds.

Quote

In the UK have you any tips about buying a new PC?

Are the places like PCWorld, Comet, Staples, Dixons a good place to try
or should I go to specialist shops eg from computer mag adverts?


I would build the machine myself. There are plenty of shorps that sell PC parts for good prices. http://www.dabs.com is a great UK website selling top quality parts for a low price.
Don't forget that Black Troll sell complete PC's with AROS already installed for around £160 or so (depending upon the exchange rate).
High Street stores will rip you off.

Quote

>That's true, if we treated all memory access in AROS as Big Endien
>we could have the same 68k emulation method as OS4 and MorphOS use.
>But it has been decided that the performance penalty of running
>a little Endien CPU with Big Endian data was to significant
>(something like 30% penalty) that it was not worth it.

30% is nothing,

if a car goes by at 70mph and 10 minutes later another car goes by at 100mph
would you know the difference (I am talking about perceptions here),
(70mph being 30% slower than 100mph)

can you go both ways: ie have Big endian PC AROS and Little endian PC AROS,


30% is far too much. When running AROS on a 3.066Ghz CPU, are you really happy to write off nearly a whole 1Ghz (919.8Mhz) of performance?

There is no point to cripple a CPU, AROS runs using the Native byte order of the CPU, thus it is big endien on 68k and PPC and little Endien on the x86.

You could build a Big Endien AROS for the x86 but that would be incompatible with the faster Little Endian one.

Quote

Besides if we use an integrated UAE we also get Hardware compatibility
>and improved stability so it's a benefit all round.

can you integrate UAE at the RAM level with little endian RAM?

if a 68k program accesses OS data structures ints and words at the byte level
or bytes at the word level the OS will get mangled

most programs wont do this so maybe you dont lose too much,


The Idea for the integrated UAE is so that the 68k and the x86 do not share Data structures. But instead allow the two system to synchronise their data. This will allow 68k programs to run in the same environment as the x86 programs. The only down side is that 68k programs will not be able to call x86 functions and vice versa. This could be possible, but probably not worth it. The UAE Emulator will be running a 68k version of AROS (specially designed to synchronise with the x86 version).

Quote

everyone says its not a big deal that Eyetech created the A1, I wondered whether they could prove this by doing their own one,


Anyone is able to sell Terrons. I could put a little sticker on it if you like and sell it to you.

Quote

people on all Amiga variants could then start generating AROS native progs,


Since AROS is source code compatible with AmigaOS, it is easy to write your program on your A1200 in C... and then take that source code to An AROS machine and recompile for whatever CPU that is running.

gcc has a cross compiler, there is no probelm generating code for any CPU from any CPU, providing you have the includes of course.

Quote

computer 3D always sucks because you can literally see the computer slow down
and wince whenever something computationally complex happens,


I've guess you've not used a new 3D card then. I have yet to write a program that causes my Radeon 9000 to slow down even with over 10000 objects (using the DX7 interface).

Quote

Amiga.org is closed source isnt it?


No. Both Amiga.org and Amigaworld.net use xoops which is a great example of opensource software. Aros-Exec.org also uses xoops.

Quote

Note that if a 68k version is also done then it reaches all platforms via UAE,
so its just the native compile that would be lacking,

:this is a good reason for having a fully implemented 68k AROS,


We need the 68k AROS for the integrated UAE Emulator idea. I also want to run AROS on my A1200. We do have a working 68k AROS, but it needs to be adapted to boot the Amgia Hardwre. At the moment it only boots the Palm PDA.

Quote

If AROS has fully integrated 68k compatibility you could use a
3rd party 68k TCP/IP stack until you have your own open source one written,


That would require a Big endien AROS, something that we have already decided is a bad idea on the x86.

AROS will not use a 3rd party TCP/IP stack. When AROS gets a TCP/IP stack it will be fully integrated and designed as part of AROS, rather than an add-on.

Quote

you may need to target some publicity at potential commercial developers
about AROS allowing closed source + commercial programs,


AROS publicity tends to tell us that AROS is an open source reimplementation
of OS3.1, the phrase "closed source" is never mentioned,


AROS is a word of mouth effort, there's no budget for promotion :-)

Well AROS is an Open source reimplementation of OS3.1 :-)

Quote

to this day I dont even know if closed source commercial binaries are allowed on Linux,


It depends. If you link to a GPL library or use any GPL code, then your software automatically becomes GPL.

If you link to an LGPL library then you program is not GPL or LGPL.

If you use any BSD code then that does does not cause your code to be BSD.

Simply check the licence of any software you are using to find out what you can and can't do.

AROS is covered by the APL, which is similar to LGPL. IF you use AROS source only the code that you use must remain Opensource. The rest of your program is yours.

Licence issues are very complex.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #15 on: April 14, 2004, 11:48:14 AM »
Quote

Crumb wrote:
@Bloodline:

hi!
"An A.orger who wants inline 68k emulation in x86 AROS "

that's me! :-)

Bernd Meyer replied some of my posts in ANN, and he thinks that using the memory as I described (using the memory in reverse order for the 68k memory allocated areas like in the Mac emu Executor) may work to a certain degree but may cause problems like reversed screens etc... so a better approach should be found


Then have a go and get a test program up and running, and we can test it and see if we can work out any bugs.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #16 on: April 15, 2004, 02:04:10 PM »
Quote

whoosh777 wrote:

@bloodline,

I spent several hours yesterday looking at Comet, Staples and PC World,



If it's your first PC it *might* be an idea to get a prebuilt system. But if you are going to do that, then still avoid the high streets. If you really must go the high street route, then use something like "Time Computers"... but if possible go to specialist dealer.

You say you want to avoid M$ Windows. I say that it makes sense to at least have a copy of 2000 or XP on your machine so you can run the lastest games, and/or any important apps you might need.

Always get as much RAM and Hard drive capacity as you can afford. Buying RAM and Hard drives from a specilist dealer (www.dabs.com are great) will always be at least 50% cheaper than the High street stores.

Quote

Fast SCSI-2 interface for external drives is 29.95 from PCWorld,

looking at real machines made me realise what an achievement it is
to get AROS to boot directly on PCs,


SCSI is pointless for any home user. Any modern drive (Like the Western Digital's with thier 8meg caches) will be much cheaper and offer similar performance. S-ATA is the new way to go so look for that if you can.
Don't forget that UAS2 and Firewire offer good Hard drive suppoer too, though both are pricey.

Yes, It is testiment to Michal Shultz, Johan Grip et al, hard work getting AROS booting the PC hardware. Though the fact that PCs have a standard BIOS does help.

Quote

/*
Yes, when you think of AROS Hosted, think of Linux as a Hardware abstraction layer.
Running AROS on Linux can be thought of as the same as running AOS3.1 in UAE.

While AROS is running on Linux one can work out all the bugs and issues.
Then you can add the Firmware boot code and boot AROS on it's own.
*/

ok thats good, it means indirectly they are working on a direct boot,


Bug fixes on any version of AROS directly improves all other versions. As I said AROS shares 99.999% of it's code across all ports.

Quote

/*
When choosing hardware you must first consider what your requirements are,
then choose what is useful and at the cheapest price. Ignore religious/political
issues like "brand" and "make", these things are unimportant when it comes to
technology.
*/

I am upset though that something so horrible as MS has a stranglehold,
why cant we have a quality monopoly,
 


M$ Windows simply offers a standard way for software to talk to both the user and the hardware. It does that job very well. I it a shame hadware manufactures often only provide Windows drivers, and never any source code. but Since windows *is* the standard this is little we can do about it, unless we offer a viable alternative for the user.

Quote

/*
Yes, just download the AROS CD image, burn that to a CD-ROM,
then put that in the CD drive, turn the PC on...
AROS will boot and run by itself.
*/

sounds painless, so in theory I dont need MS?

now could I do this via the PCs hard disk instead of via CD-ROM?

ie if I download to the hard disk could I boot from that instead?

or if I download to an external SCSI hard drive on the Amiga and
then connect this to the PC via the interface I mentioned,

or is it only possible via CD?


Wndows provides internet access and CD burning software, that alone makes it useful.

To run AROS it needs to be either on a CD or on a floppy. From the CD you can install it onto a hard drive and once there it can boot without a Flopyp or CD

AROS needs to be running in order to install itself on to a hard drive.

To put the AROS boot image onto a Floppy you will need a high density drive. To put the AROS boot iamge on a CD you will need a CD burner.

I recommend you get a CD burner with your PC.

Quote

/*
I would build the machine myself. There are plenty of shorps that sell PC parts
for good prices. http://www.dabs.com is a great UK website selling top
quality parts for a low price.
Don't forget that Black Troll sell complete PC's with AROS already
installed for around £160 or so (depending upon the exchange rate).
High Street stores will rip you off.
*/

I will look into these then,

I read this after making yesterdays visit to those shops,
£160 is almost half the price of what I saw,


will the £160 PC come with MS OS or MS s/w or is MS completely absent?

what sort of graphics card?

do you think the shop bundles are there to catch ignorant first timers??


The Black Troll machine is an AROS system, it does not come with Windows. It might not be ideal for your needs.

The shop bundles do catch the first timers, but then they do make things very painless for the first timer too.

Quote

/*
30% is far too much. When running AROS on a 3.066Ghz CPU, are you
really happy to write off nearly a whole 1Ghz (919.8Mhz) of performance?
*/

it may depend on your upbringing, I was trained to never put speed as the
top priority, ie robustness + portability + compatibility etc are
higher up the ladder than speed

eg a formula 1 car is very fast but I dont see many people driving them
on the roads!




But a 3Ghz PC is not the F1 of the PC world, it's the standard. Anyway I think a computer runing at 2/3s it's actaull speed is not a good trade off so you can run an old Application that is probably far behind in features than a freeware Windows version.
when you could go the integrated UAE route and run that same app on a system running at full speed.

The Compatibility desire is what held the PC and Windows back. That is why I used to hate them. Amiga Users should not become stuck in that mind set also.

Quote

/*
You could build a Big Endien AROS for the x86 but that would be incompatible
with the faster Little Endian one.
*/

effectively it would be AROS on a different platform,

it would be very interesting to see what exactly the slow down is,
you believe its 30% but as it hasnt been done we dont know for sure


It would be a different AROS platform, in the same way the PPC verison of AROS is.

Tests have confirmed that the slow down would be significant.
Amithlon has the advantage that even the lowest spec PC taking a 30% speed hit is still 10 times faster than the fastest real Amiga. As Amithlon runs software meant for a real Amiga it's no great loss.

But how would you feel if you wrote a program and compiled it for Linux, Windows and AROS. And the AROS version was 30% slower than the Windows and Linux versions on the same machine? that sux, no one would bother with the AROS version because it is crippled. No speed penalty is worth it.

Also if the 68k was "inline" then the AROS would be less stable, as bugs in old programs would be allowed to creep in and take down the OS. If we run them in UAE, when they die, you can simily restart them. The OS remains uncrashed.

Quote

/*
The Idea for the integrated UAE is so that the 68k and the x86 do not share
Data structures.

But instead allow the two system to synchronise their data.
*/

ok, you've gone down that path,
its going to be much more work,

I suppose if you redirect each 68k jump vector to also call the
corresponding x86 jump vector or something,

will each x86 API call have to synchronise the 68k data structures?




It would be up to the 68k verison working with UAE to make sure it knows what the x86 OS is doing.

If you call a function in a library on the 68k side that function will then call the coresponding function on the x86 side performaing any byte order conversions if needed.

Quote

/*
This will allow 68k programs to run in the same environment as the x86 programs.
The only down side is that 68k programs will not be able to call x86
functions and vice versa. This could be possible, but probably not worth it.
The UAE Emulator will be running a 68k version of AROS (specially designed to
synchronise with the x86 version).
*/

I suppose the open nature of AROS means someone else could
create their own variant of AROS some other way, (I'm not volunteering just yet!)

whereas with AmigaOS we would all be stuck with the company's decision,


You could, if you want, right now get the AROS sources and add in your own "inline" 68k emulator and make a big endian verison of the x86 AROS. The devs would even help you as best they can. That is the beauty of Open source software.

Quote

/*/*
everyone says its not a big deal that Eyetech created the A1,
I wondered whether they could prove this by doing their own one,
*/*/

/*
Anyone is able to sell Terrons.
I could put a little sticker on it if you like and sell it to you.
*/

see you are telling me its not a big deal,

how much would you sell it for?


It was a brave market decision to push a PPC platform at that price, but I guess Eyetech knew people would buy anything with an Amgia Sticker on it.

Sure I'll sell you one, hmmm how does $14 billion sound?



Quote

/*/*
computer 3D always sucks because you can literally see the computer slow down
and wince whenever something computationally complex happens,
*/*/

/*
I've guess you've not used a new 3D card then. I have yet to write a program
that causes my Radeon 9000 to slow down even with over 10000 objects
(using the DX7 interface).
*/

but as you throw more and more objects it must eventually slow down?

ie

for( i = 1 ; ; i++ ){ introduce_1000_objects() ; }

must eventually catch up with your CPU power,

how about 10000 explosions?


A Modern graphics card has a GPU (a dedicated Processor) that is as powerfull as super computers were 10 years ago. When programming 3D with a modern Graphics Card (using DirectX or OpenGL, whatever) you left the GPU do all the hard stuff and left the CPU worry about the game logic.

You will have to see the performance to believe it.

Quote

/*
No. Both Amiga.org and Amigaworld.net use xoops which is a great example of
opensource software. Aros-Exec.org also uses xoops.
*/

xoops is opensource but presumably the specific configuration is closed source??


the configuraton has nothing to do with the source.

Quote

/*
We need the 68k AROS for the integrated UAE Emulator idea.
I also want to run AROS on my A1200. We do have a working 68k AROS,
but it needs to be adapted to boot the Amgia Hardwre.
At the moment it only boots the Palm PDA.
*/

reimplementing AmigaOS via the same custom chips!

you may need to study UAE to understand the custom chips!

(a bit like studying AROS to understand AmigaOS),

I hope you fix some of the existing bugs eg
AGA SetRGB32CM doesnt set the lower 4 bits of the blue component,

also blitter OS calls can fail horribly on bitmaps exceeding
1024 pixels width even though the h/w can cope with huge bitmaps,

according to the autodocs someone forget to set an AGNES big blit flag
they knew that in 1992 and havent yet fixed the bug!


Booting UAE would be much easier than a Rael Amiga, since one could bypass the hardware bootstrap. Using UAE one might be able to figure out how the hardware is initilised at power on.

In the 68k version of AROS, one would not have the same bugs as AmigaOS, unless there is specific reason to copy that bug.

Quote

/*
AROS is covered by the APL, which is similar to LGPL. IF you use AROS source only
the code that you use must remain Opensource. The rest of your program is yours.

Licence issues are very complex.
*/

sounds a good license, some licenses are quite tight fisted!



A licence is there to allow the user to use the softwre while at the same time protecting the author of the software.
If it fails to do either of these things, the Licence is bad.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #17 on: April 15, 2004, 02:21:50 PM »
Quote

NightShade737 wrote:
Time Computers have not existed for a while, they merged with Tiny and I do NOT recommend their machines.

REally? But Tiny machines were crap.

in 2000 I knew 5 people who bought computers. Two went to Time, 3 went to Tiny... One tiny machine was DOA, One of the Tiny machine died after a year and a bit... and the other Tiny machine died after about 2 years.

The time machines are still going... that's why I figured they are ok.

But I personally build my own machines, you get better quality components at a cheaper price. Dabs are great! :-)

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #18 on: April 18, 2004, 09:43:27 PM »
@whoosh777

I'm glad you finally had a chance to play with AROS :-)

Cybergraphics is present and correct. You would have noticed that the AROS graphics are either 65536 or 16.8 million colours (ie true colour) by default. That is why the icons can be very colourful.

If you get a Nvidia (ie GeForce) graphics card you will notice a massive speed up if you select "NVIDIA" at the boot options.

If you press Left-Win + Right-Win and Ctrl keys together AROS will reset (this avoids using the BIOS, so allows for a quicker reset).

AROS can only read Amiga hard drives at the moment, so it can't see your Windows Hard drive. We need a FAT32/NTFS file system driver in order to read the drive.

If you take out the Windows Hard Drive and put a blank drive in there, AROS can format the drive to the Amiga format and you can install AROS onto it.

Once you get a chance to play with the AROS applications and demos in the "Extras" dir of your AROS CD you will see why we are against a slower "big endien" x86 AROS :-) Once you get a taste of Raw CPU speed... you just want more :-D

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #19 on: April 19, 2004, 10:38:28 AM »
Quote

is the default WB screen 16.8 million or 65536?
new to such things I dont know the difference,


The actual colour depth is chosen by you at the boot screen. The 16bit displays have 65536 colours, the 32bit (and 24bit) displays have 16.8 million colours.

There is also a VGA option that is just in case you don't have a modern graphics card, that only has 16 colours.

The Nvidia option defaults to 16bit, and the resolution can be adjusted using the screen mode prefs in the prefs dir.

Quote

I found so much further stuff this time that
I now think it is very nearly mature,

so I think it can take off without backwards 68k
compatibility,


We think so too.

Quote

I still havent found gcc on it, though I found
the includes and gcc libraries, you have a lot
of gcc stuff including libjpeg,

jpeg is very very portable so it should port to
everywhere very straightforwardly,


gcc is not included in the nightly build, at this time, as there are still issues with it.
All graphics manipulation should be done via the datatypes, so that all programs support all types of file. I belive we already have a jpeg.datatype.

Quote

If you get a Nvidia (ie GeForce) graphics card you will notice a massive speed up if you select "NVIDIA" at the boot options.


--------------------------------------------------------------------------------


PCWorld had this for £99, is that a good price?

what is the full product name?

Is it A1 and Pegasos2 compatible?

Nvidia vs Radeon? will you eventually have Radeon support?
is it worth me waiting?



Any Nvidia based card will do for AROS. Just get the best you can afford. I would probably not spend more than £150 on one.
The A1 and Pegasos, are compatible with current AGP specs as far as I know.

We have a couple of people working on Radeon drivers.

Quote

Is there any way I can boot to Windows XP with the
AROS CD still in the drive?


if you type e during the GRUB boot stages, and go to the boot console, typing "windows" (IIRC) will boot windows.

Quote

can I reconnect my existing SCSI FFS drives to
my new PC SCSI interface and use them AS-IS?

Is there a risk factor as with WinUAE or is it
totally safe?



AROS has no SCSI.device so it can't read SCSI drives. I would be surprised if you PC even had a SCSI connector. you are welcome to write a SCSI.device if you wish though.

Quote

You are saying that I shouldnt install AROS to this
current internal drive?

I want to try and only use external drives, so I can
selectively switch the power off as a virus precaution,

can I install AROS to some such external drive?
what is the best type of external drive to get?
(low cost + high speed),


Don't install AROS to your Windows hard drive. AROS will reformat it and turn it into an Amiga Formatted Hard drive.

When AROS gets USB support you will be able to install it onto a USB Memory stick (or USB hard drive) and boot from that. But AROS is still waiting USB drivers.

AROS should be able to read an FFS IDE drive fine.

Quote

2 questions on little-endian x86 AROS:

1. Have you a version that runs above Windows?
2. Have you a version of UAE that runs above
either even if its not integrated?

because I may then use that instead of WinUAE
for my 68k environment,

I have some really useful things which can only be
run in 68k,


There is not AROS Hosted for windows, yet. But it will come, people are looking into it.
UAE is included with the nightly build, but the GUI doesn't work yet as Adam hasn't linked it. You will also need to provide an Amiga ROM image as the "Real Amiga" build of AROS needs to be matured.

Quote

I tried out some of the Extras programs which looked
very impressive, some of the Windowing is just as good
as Windows XP,

would it be possible to reintroduce an OS1.2 click to back
gadget? maybe via some Prefs program for standard gadgets,
I never liked having to click twice to move an
in between window out of view on OS3,


if you select "Execute Command"  and type "opaque" , you will get solid windows :-) You can find the opaque commodity in the Tools dir.

The Click to back gadget was removed because it is redundant. But If you want on, you are welcome to add the code for one, that can be used in different window themes. I will make an OS1.x theme, but I had not planned to include a click to back gadget,

to get better window management, select "Execute Command"  and type "clicktofront double" , you will then be able to double click any where on the window to bring it to the front of the dispaly, then hitting the Depth gadget will drop the window in one click :-) You can find the clicktofront commodity in the Tools dir.

Quote

I noticed your shell has tab completion via requester
exactly the way I want it, is the shell King-con or
have you reimplemented it from scratch??

I didnt check whether you've fixed the square bracket
problem on King-Con, on King con if there are square
brackets in the shell output, if you scroll back to
them they vanish! Thats why I use () in the usage info
in my programs such as the above trackdisk.c,


KingCon is not used, all features are coded directly into Zune (AROS's version of MUI), and not as third party add on.

Quote

The transparent window with a circle on it looked
really interesting, I want to see what the mechanism
for doing this, non rectangular windows should be now
possible,


We have non regular window support, I think there is a demo called "roundwindow" somewhere.
The mechanism for this is built around the standard AmigaOS layers system. But AROS has enhanced the basicly layers abilities.

Quote

I want to learn what GPL is as well, is it
"graphics programming language" or what?

(not referring to the Gnu Public License also GPL)


I have no idea what GPL is (other than a Licence)

Also, I recommend you listen to Piru, he knows his stuff!

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #20 on: April 20, 2004, 12:34:27 PM »
16bit is much better than HAM. HAM is slow, and is only suitable for stationary graphics. Each pixel gets two of it's colour components from the pixel to the left. This requires a massive amount of CPU time to work out.

The human eye is able to see twice as many Green Shades as Red shades so it makes sense to have the 5+6+5 RGB arrangement.
All camera have to have twice the number of Green cells as Red and Blue.
The TV signal devotes most of it's bandwidth to the Green component, and only a a tiny amount to the Blue component.
You eyes almost certainly can't see all 65536 colours that 16bit graphics can produce.

Remember that if you select a 16bit only the final dispaly is 16bit, the internal graphics operate at much higher bit depths. AROS actually uses 32bits for each colour component!


TCP/IP stacks are hard, but Wez is working on one.


Did you not use Datatypes on your Amiga?
The concept is simple. You write a music player program for example. You don't need to know anything about WAV's or MP3's or IFF's or OGG's, all you need to know is the datatype API.
Then the User can install an mp3.datatype or a wav.datatype etc, and your program can use them. No extra work on your part.


You seem hung up on SCSI. SCSI is a very old idea. Hard drives and CD/DVD drives all go on the IDE bus, all other devices go on the USB or the Firewire bus.
AROS can use CD/DVD drives, because AROS has an ide.device.
SCSI is dead, no normal computer equipment use it :-)

IDE's big limitation is the number of devices it can support, which in a normal computer is 4.
IDE is being replaced with S-ATA (which uses the same drivers as IDE, so AROS will support it) but supports more drivers and better speeds.

UAE is usable in AROS, even with out the GUI, you just need to set the configuration in the config text file. You can get the Amiga ROM image from your Amiga.


The thing I hate most about all GUI's is "auto rise", that is when you single click on a window and it is brought to the front of the display. I hate it. AROS does not do this, and I like it that way :-)

MUI is third party for AmigaOS, but Zune is not 3rd party for AROS. Zune is an integral part of AROS. Zune replaces intuition as the window manager (though Zune uses intuition).
It might seem hard to understand, but what you are seeing the whole Zune prefs, You will probably never need to use the Zune prefs (if you are happy with the AmigaOS3.1 look), but Zune gives you the option to change every aspect of the GUI. It allows you to chance how the GUI behaves and provieds advanced features like, list views, and special gadgets, help bubbles etc... if you want them, if not then just ignore it.
It also makes writing GUI's for programs much easier.
As for the name, Zune, I had a vote for a new one, but Zune was chosen, the public spoke, so we kept the name.
You set the screen colour/pattern/gradient/pitcture using the prefs program for that (the name escapes me). You do not use Zune Prefs for that.
Zune Prefs are not something you need to concern yourself with if you don't want to, zune manages the interface regardless (You can still use intuition if you wish, when programming, but for anything other than a simple app, you will be making work for yourself).

Quote

I think the transparency is a more practical feature
than nonrectangular windows,

I have to try out click to front on the
transparent region, see if I have to click on
the visible part,


Yes transparency is a more useful feature than nonregualr windows, but nonregular windows are useful for window themeing, some people like themed windows.
The transparent part of the window is not clickable, and events there will go through to the visible window/screen below. You should think of a trasparent region as not part of the window at all!

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #21 on: April 20, 2004, 09:43:11 PM »
Quote

I have set up WinUAE now with AIAB, its absolutely fantastic and its
the identical ROM of my A1200 so its the real AmigaOS,

so the XP machine is like a huge graphics card accelerator for my ROM,

It has the exact same quality as the Windows XP environment,
as its basically an XP app, with emulated Picasso screen,
the speed tests were absolutely staggering: it filled an entire screen
with characters instantly, it was like rain in a thunderstorm,
it said equivalent to 1662 MHz 020 and 5234 MHz FPU,
100 x speedup of FPU!, 30 x speed up of CPU (I think)
361 MIPS, 673 MFlops, I havent run Sysinfo yet,



Sounds like you made the right hardware choice for your needs :-)

Quote

AROS should be much faster still, they say power is an aphrodisiac,
I think once any developer starts coding on AROS they are going to become
totally hooked,


Exactly! :-D

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #22 on: April 22, 2004, 10:05:09 AM »
Quote

/*
TCP/IP stacks are hard, but Wez is working on one.

Did you not use Datatypes on your Amiga?
*/

no, I've not gone too deeply into graphics as I find it too
open ended and arbitrary, though its very satisfying to look at,

same reason I didnt become an artist,

so when I have needed graphics I've coded it directly eg
iffparse.library for iff files,

or used 3rd party code for a specific picture file,


From now on, you will use Datatypes if you need to support any file type. :-D

Quote

/*
You seem hung up on SCSI. SCSI is a very old idea. Hard drives and
CD/DVD drives all go on the IDE bus, all other devices go on the
USB or the Firewire bus.
AROS can use CD/DVD drives, because AROS has an ide.device.
SCSI is dead, no normal computer equipment use it
*/

I bought a USB external drive today so I see what you mean:

£40 for 120 Gig, £60 for the case though, probably 10 x the capacity of
an external SCSI for that price,

I think USB outdoes SCSI, but SCSI has advantages (not price) over IDE:

with IDE my machine only has 2 slots,

for me personally I have complete docs for coding cross platform SCSI,
but maybe I can learn to code USB,


If you have 2 IDE slots then you can use 4 devices.
That's right each IDE slot can support 2 devices, it you buy an IDE cable it has three plugs on it, one for the Motherboard and one for each of the devices the slot can support. If you do put more than one device on a single IDE slow, one device must be set to Master, the other must be set to Slave. This is doen using some jumpers at the back of the device.

Learn to use the USB, it is much better than SCSI.

Quote

Question: can you outline what is involved in communicating with a
hardware device on the PC?

(thinking about AROS drivers)

explain it in general terms understandable to someone only familiar with
the classic 68k Amiga,

how do you communicate with a generic PC h/w unit?

alternatively select a specific h/w unit and explain how this
is controlled directly in assembler,

eg are there specific absolute memory addresses for say PCI socket 1,
and is there some kind of structuring to the reads + writes,

eg for a write might it be:
write data length to $12340
write pointer to data to $12344
set bit 1 of $12348 to begin the write,
interrupt 123 happens on write completion,

and eg the data itself will be structured in a way
private to that specific device,


I can see that all PCs have the same structure:

some PCI sockets, AGP socket(s), SIMM sockets, maybe IDE socket(s),
maybe USB sockets,

and then a lot of h/w is via these sockets,
you mentioned IDE bus and USB bus, presumably the bus amounts to
an initial socket??

so I presume each socket has an assembler level API,


Ok... firstly we don't use any ASM in the drivers, since you will find the same network card/graphics card/sound card whatever, in an x86 machine, a PPC machine or whatever etc... so that driver should be portable across the CPU types.
You do not program the PCI slots yourself. As a driver you request infomation about the attached hardware from the PCI drivers (which I think is the pci.library in AROS). You use the PCI drivers for all access to devices on the PCI bus, and since almost everything in the computer is attached via that bus, this is the thing you need to learn about. Everything hangs off the PCI, this is the bridge between the CPU and the hardware. The PCI drivers will provide you with any information you need about the attached hardware.
I'm not sure how good the AROS PCI driver docs are, but it's a pretty standard implementation.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show all replies
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #23 on: April 27, 2004, 10:49:41 AM »
Quote

I went to a lot of PC shops today (even though I shouldnt, surfing the high street!), I saw a 128Mb USB-2 keyring for £29.99,

USB2 is like magic,


Yes it is, and it's getting old now.

Quote

now I have a PC when I walk into a PC shop I know what
everything is, I know that those XP screens are merely
a selection of one of the standard backdrops,

those icons are exactly the same as my ones,

when I hear the staff talking I actually know what
they are talking about, the only shop that impresses
me now is Maplins. In PC World when I ask about prices,
I am very tempted to say: "you realise thats a total
rip off!" The staff in a lot of shops actually tell me to try Maplins,

now when I walk into PC shops, its like toys everywhere
for me, and so cheap, and I have total compatibility,

everything in Dixons is now compatible with my system,

this XP machine is the ultimate interface + accelerator
card for my OS3.1 ROM via WinUAE, Windows XP is a great
hardware abstraction layer, it abstracts all hardware in
existence, maybe AmigaOS should be sold as a Windows app??

I've never felt so happy since buying this machine,
its like everything is win-win, every question I ask
the answer is yes, yes you can, yes we do, yes we have,


That's the problem which most amiga users face. They don't realise that they have gone from the cutting edge of technology to the bottom of the pile.

Technology is moving very quickly... In the 10 years since Commodore's demise the whole world of computing has moved on.

Quote

the moment AROS gets USB-2 its going to be in such a
strong position,



Yes AROS needs a USB stack.

Quote
USB-2 is 480Meg/second (I think),


Actually its 480Megabits per second which is about 60Meg per second. That's still really fast :-)

Quote

I found that you can even increase the number of
PCI slots by a PCI card which outputs 2 PCI slots,
so thats what a riser card is,

its like wonderland,

£5 keyboards,

128Mb keyring, whats the world coming to!


I wish more people here would take that little leap into the moden computing world :-)