Welcome, Guest. Please login or register.

Author Topic: 68k AGA AROS + UAE => winner!  (Read 26214 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline whoosh777Topic starter

  • Full Member
  • ***
  • Join Date: Jun 2003
  • Posts: 114
    • Show only replies by whoosh777
    • http://www.whoosh777.pwp.blueyonder.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #59 on: April 15, 2004, 12:34:46 PM »

@bloodline,

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

Comet have an entry-level system for £270 Intel based HP system,
but it uses a shared memory Intel graphics card,

£12.95 delivery charge,

128Meg ATI-Radeon 9xxx looks like its £100 at PC World,

Comet also do a £470 mid-level PC base unit also HP,
with 128 Meg ATI-Radeon 9xxx SE,
it has various things not in the £270 one eg writable DVD whereas
the £270 is read only for DVDs but writable for CDs,

all the systems in Staples seem expensive,

If I make a system from the parts via PCWorld its:
£52.86 for CPU, mobo £47.59, 128Meg RAM £22.33, 128 Meg ATI-Radeon £100,
case £35,

which adds up to £267.80 without s/w or OS,

unbundled MS OS is £160 I was told,

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,

>>>>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.
*/

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


/*
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.
*/

as it should be!

/*/*
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.
*/

an interesting viewpoint,

certainly I dont like at all the Windows interface,
to me it says "go away", whereas the Amiga interface says "FUN-time"!


The bundles provide a full set of s/w, but I am really intent on
bypassing MS.

Its quite insiduous how they force themselves on you the customer,
the default line of action is you end up with Windows and all the MS s/w,

that would be ok if they manufactured the h/w but they dont,
so its not right,


looking at machines I dont get what the big deal is about MS,

they have created a drab looking OS and the only interesting thing about it
I can see is that all h/w is geared to run on it,

Really h/w manufacturers should be forced to release c drivers for their
products so any OS can use any driver,


it is truly sinful that 3rd party h/w can be produced to only run on Windows,


/*
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,

/*/*
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.
*/

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?




/*
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.
*/

looks like I will get an ATI Radeon if I get a PC or use the
onboard shared graphics Intel card,


/*/*
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.
*/

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??

/*/*
>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?
*/

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!

/*
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.
*/

I dont mind though and many people are happy with WinUAE and Amithlon which
are big endian on x86,

the be686-amithlon-gcc shows that people are even prepared to produce
big endian compilers for x86,

/*
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

/*/*
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.
*/

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?

/*
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,

/*/*
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?

/*/*
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.
*/

your gcc outputs to multiple CPUs?

68k gcc only appears to output 68k series code,
but it sounds like your one outputs PPC and Intel code,

in which case there isnt an issue except for 68k people as it appears
you havent completed 68k Amiga AROS,

/*/*
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?


/*/*
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.
*/

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

/*/*
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.
*/

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!


/*/*
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.
*/

so it can be done,


/*
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!


 

Offline NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #60 on: April 15, 2004, 12:42:22 PM »
Right, so you don't buy a mainstream PC, but then talk about buying parts from somewhere like Comet, Staples or PC-World. Thats like saving your foot then cutting your leg off. If you are going to build a machine, you use places like Komplett, eBuyer, Scan and Dabs. Also if you are going for more hardcore parts, possibly Overclock.co.uk and TekHeads. Going to high street crap places like Comet and PCW guarentee you nothing than high prices and a dire selection of parts that are nothing more than marketing gimmicks (i.e. GeForceFX 52XX cards etc).

Oh, you may want a hard-drive for that PC too  :lol:
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #61 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 NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #62 on: April 15, 2004, 02:12:18 PM »
Time Computers have not existed for a while, they merged with Tiny and I do NOT recommend their machines.
 

Offline NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #63 on: April 15, 2004, 02:17:37 PM »
Quote
Fast SCSI-2 interface for external drives is 29.95 from PCWorld,


SCSI-2 is 20MB/s. Current IDE drives are roughly 50-60MB/s. Why exactly do you want SCSI-2?
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: 68k AGA AROS + UAE => winner!
« Reply #64 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 NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #65 on: April 15, 2004, 02:35:14 PM »
Komplett are better :) (used all of the companies multiple times). Dabs are good. West Mercia police use them for most their stuff as I did some ordering and such for them, but Kompett excell in the RMA department, their prices are also a bit lower.

Yeah, the hardware was rugged. I still have parts from 1998 Time machines that are fine, what isn't fine is their support,   extras and setup, but as I said, they haven't existed for a while anyway.
 

  • Guest
Re: 68k AGA AROS + UAE => winner!
« Reply #66 on: April 15, 2004, 02:39:44 PM »
Quote

bloodline wrote:
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! :-)


Tiny went bankrupt over 2 years ago.  Time's parent company bought the trading name Tiny from the recievers and launched another company Tiny.com that is separate from Time.  Time are retail only, Tiny.com are web/phone mail order only.

There is nothing wrong with the hardware either sell, jsut the sh!te software installed on them. Cheifly Windows.  All the users are thick as fcuk too, 99% of problems on support calls are problems caused by the user.  You need a licence to drive a car, IMHO you need one to use windows.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: 68k AGA AROS + UAE => winner!
« Reply #67 on: April 15, 2004, 02:44:38 PM »
@whoosh777

Heh, we're not arguing, just comparing chip implementations. I still say, considering your enthusiasm for the idea, go for it! :-D

Anyhow, back to that circle :-D

Quote

1. small number of volatile scratch registers,
2. the first function arguments in non-scratch registers: if function arguments
are in scratch registers then those registers are no longer scratch!:

scratch registers are short term breathing space,

3. further arguments to the stack,

eg on 68k:

a0,a1,d0,d1 as scratch, and function arguments f(d2,a2,d3,a3)

if you have too many function arguments in registers you
run out of breathing space: the called function has to start using the stack to free up registers for internal use,
also the calling function may already be using those registers for something else so it has to back them up somewhere,


if you have too many scratch registers its wasteful,


I sincerely suggest you read the PPC open ABI specification to get a better understanding of how it works. The issues you raise almost never occur due to how the ABI is layed out. Stack based calling is rare (unless you have more than 8 integer/pointer parameters). Those registers never need to be backed up before a call because the compiler won't use them to hold anything that needs to survive a call.

As you yourself point out, 4 registers is usually enough for most purposes. With 32 registers, some of which are used for the stack, global data section etc, the compiler can almost always find somewhere to store a variable without using the stack.

Even then, the compiler can spot which volatile registers don't get hammered across calls in the same translation unit. Same with function parameters, it can see which ones 'survive' the call, eg const arguments etc.

When I look at well optimised PPC code generated from a good compiler, I see very little stack usage, very little register backup etc.

Now, if you think back to your "stack cache" idea, having a large register file, of which programming standards say "this half is volatile etc." actually gives you the same functionality.

Large register files are fantastically useful for breaking down complex expressions. All the examples you have posted so far tend to deal with linear code, doing fairly simple arithmetic.

x = a + b * (c + (d*d)); etc.

Chuck in function calls (some of which may be inlined), multidimensional pointer dereferences (that may be used several times in one expression), etc., and more and more volatile registers becomes useful to hold temporaries that may be needed more than once.

For a different example of why large register sets are handy, a small interpretive emulator I wrote as a thought experiment (for a theoretical bytecode cpu), uses several function lookup tables. One for opcodes, one for effective address calculation and one for debugging traps etc.

There is a data structure for the "core", containing a register file, stack (seperate ones for data, register backup and function call) and code pointer (the PC, but expressed as absolute address) etc.

Code is executed in blocks, until either a certian number of statements have been executed, or a particular trap (or break signal) has been invoked.

Careful design of the code allowed each function table base, the virtual register file, the virtual stack pointers and code pointer to persist in the same registers throught a call to execute(), without the need to be moved, saved etc. etc. across all the calls incurred during execution of the bytecode. Given that we are talking about possibly millions of calls, that saving is considerable.

Regarding the x86 internal RISC issue, I never said that it was better or worse than "up front" RISC.

But we can infer 2 things:

1) A RISC style core clearly makes sense as virtually every CPU manufacturer is using it.

2) Your assumption that the "external CISC" style approach of x86 could be better based on code density is very difficult to judge. You have to consider that the code decomposition into the internal micro op language is far from simple to achieve. The design of these cores are fantastically complicated, gobbling up silicon like nobody's buisness.

The problem is, it's not a simple linear process where x86 instruction "X" is always decomposed into micro-op codes "a b c". The early stage of decode may work this way but once it has to start processing "a b c", it almost works like a mini compiler, looking to see what rename registers are/will become free, which instructions have dependencies etc. All this takes clock cycles - which is partially why modern x86 CPU's have such very long pipelines and "time of flight" for instructions.

The above work is largely non existant for up-front RISC designs because it's a compile time issue. They still have to worry about rename registers and such, but compile time instruction scheduling has made their life a lot easier.

In fact, part of the whole point of RISC is that it makes the CPU's life easier by making the compilers life more difficult :-D

Now, the present x86 designs uses the above internal RISC approach not because they thought "Hmm, this is better than those young whipper snapper RISC cpu's", but because they *had* to keep x86 object code compatibility and newer RISC style processors emerging were seriously threatening them.

You only have to look back at the time when x86 introduced these RISC style cores and DEC still made the Alpha AXP. We had several Windows NT workstations in our spectroscopy labs at Uni, one was using the latter at 266 MHz and we had a newer P-II 300 MHz, with it's new spanking "internal RISC style core" and the alpha still stuffed it :-D
int p; // A
 

  • Guest
Re: 68k AGA AROS + UAE => winner!
« Reply #68 on: April 15, 2004, 02:47:38 PM »
Quote
Yeah, the hardware was rugged. I still have parts from 1998 Time machines that are fine, what isn't fine is their support, extras and setup, but as I said, they haven't existed for a while anyway.


WTF?????  They are the biggest and oldest PC manufacturer in the UK.  

What do you base your opinion on that support is not good? Personal experience?
 

Offline NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #69 on: April 15, 2004, 02:52:22 PM »
Yeah, parents wanted a pre-built machine to start with, and I got sick of dealing with their customer support as they basically had no idea what they were talking about. Can't remember any specifics anymore as it was 6 years ago, but I remember they weren't good.
 

  • Guest
Re: 68k AGA AROS + UAE => winner!
« Reply #70 on: April 15, 2004, 02:57:41 PM »
Quote

NightShade737 wrote:
Yeah, parents wanted a pre-built machine to start with, and I got sick of dealing with their customer support as they basically had no idea what they were talking about. Can't remember any specifics anymore as it was 6 years ago, but I remember they weren't good.


Things change. :-)
 

Offline whoosh777Topic starter

  • Full Member
  • ***
  • Join Date: Jun 2003
  • Posts: 114
    • Show only replies by whoosh777
    • http://www.whoosh777.pwp.blueyonder.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #71 on: April 16, 2004, 07:54:48 PM »


@bloodline,

I decided to buy a cheapest possible high street pre-built system,
mainly to get Windows + a full set of s/w, even though I am trying
to bypass Windows:

it seems I can literally pull out and replace anything in this
eg motherboard or CPU and turn it into a totally different system,
having it pre-built will help me see how its put together, and supplies
me with OS + lots of s/w which would cost a bomb to buy directly,


anyway it has DVD ROM, CD writer, 256 Mb RAM, shared memory gfx card,
floppy drive, keyboard, mouse, lots of sockets eg USB, Ethernet,

I connected it up and installed the system,

now seemed the right time to visit the aros sites, so I visited
www.aros.org, (I think thats the URL),

First I tried your floppy image,

www.aminet.net progs for creating floppies from disk-images are
geared to 880K disks, so I quickly wrote a prog,
found I needed to use mfm.device to access PC1:, I copied the image,
AmigaOS now not recognizing the disk and it failed to boot the PC,
it left the disk running permanently, perhaps there is a bug,
anyway I gave up, I have attached the
prog at the end of this post in case you can see a bug,



Now I downloaded the CD image in about 1 hour, much faster than
via my A1200, (I have unlimited internet but not broadband),

FIRST PROBLEM:

my PC refuses to understand .tar.bz2,

I try the WindowsXP help search facility, tar and untar do *not* exist,

I try google, "MSDOS" and "tar", one link says:
"tar is a unix thing, if you have a tar archive its not for the PC!"

another link is "IT experts", they know about tar for PC, but I have
to subscribe for $9/month to know the answer,


I know how to use tar, but I want the binary,

eventually I give up, basically its currently impossible to extract your
compressed ISO image, all the Gigabytes of Windows XP are to no avail `cos
their search engine says so, XP understands music and videos but not your
compressed CD,

no probs for my A1200,


anyway I burned with no probs the renamed compressed ISO to CD-R on the PC,
then loaded this onto my A1200,


OS3.9 Unarc took too long on decompressing .bz2 so I halted it and tried
Geek:

bunzip2 -fkvL AROS_CD.tar.bz2

45? minutes to decompress to AROS_CD.tar,

Geeks tar was taking too long so I tried Unarc again,
Unarc did it within an hour,

BTW the tar compression is utterly pointless:

AROS_CD.tar.bz2: 17Meg,
AROS_CD.tar and AROS_CD are both about 52 meg, a tiny insignificant
compression,


I would tell you the exact number but Fryingpan (see later) fried my
partition containing the AROS CD binaries, so its deactivated temporarily
via early startup,

The only way to transfer this decompression is via a CD-R:


Next problem, I dont have any CD burning s/w for my A1200,
I tried the free version of MakeCD but every 20 seconds it comes up
with some kind of write error,


So I downloaded Fryingpan from www.aminet.net, the interface takes 10 years
to render, the docs are in png files, and I cannot get it to burn the CD-R,
it understands my drive, but no luck,

Net effect is I cannot install AROS,

If you can make available the full uncompressed CD I can then generate
it via the PC's s/w,

alternatively supply a link to tar and full instructions on how to
decompress this, because Geek things are forbidden territory to my
Windows XP system, probably because they are a Unix thing,


I noticed you have the 17 Meg doubly compressed CD and another 18Meg one,
so probably you have enough webspace to have the full uncompressed CD,


I think it will take 3 hours to download it, but then decompressing
the compressed one takes some 2 hours, so its space-time vs decompression-time,


please remove the .tar compression because it adds an extra hour and
achieves 0.000000000001 % compression improvement IYSWIM,


Anyway net effect is I dont have AROS installed:

my PC cannot decompress it, my Amiga can but I cannot transmit it between the
2 computers except by sending a 52Meg binmail on my A1200 which will
probably take 20 hours to transmit and ?? hours to upload into YAM,

my website is only 30Meg so its not big enough for me to upload it via the A1200
and download it via the PC,


unless you can point me to a free CD burner that will run on my SCSI system,


BTW the reason I want a SCSI interface is for my existing SCSI drives:
2 hard disks and my CDRW,


I looked also into WinUAE and found their webpage totally confusing,
and soon gave up. I have a real Amiga but didnt see any info on how to
capture the ROM, though I didnt look too thoroughly,


 

Offline whoosh777Topic starter

  • Full Member
  • ***
  • Join Date: Jun 2003
  • Posts: 114
    • Show only replies by whoosh777
    • http://www.whoosh777.pwp.blueyonder.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #72 on: April 16, 2004, 08:10:58 PM »

@NightShade737

/*
Right, so you don't buy a mainstream PC, but then talk about buying parts from
somewhere like Comet, Staples or PC-World. Thats like saving your foot then
cutting your leg off.
*/

I decided in the end that a cheapest possible high street machine is worth
it just for the official s/w, from then onwards I think I will not use those places,
as this is my first PC I decided the convenience was worth it,

BTW I transported it by taxi which was £4 cheaper than the shops transport charge,


PC-World charges £200 for ATI-Radeon 9800, but I saw somewhere on the
internet selling it for £150,

there seem to be many ATI-Radeon versions eg 7xxx, 9600, 9800,

which versions are good and A1 + Pegasos compatible and which arent?

(the earlier versions can be quite cheap, but are they useless?),

PC-World has an Invidia 128Meg (I think) Ge-force or something for £99,


/*
If you are going to build a machine, you use places like Komplett, eBuyer, Scan
and Dabs. Also if you are going for more hardcore parts,
possibly Overclock.co.uk and TekHeads. Going to high street crap places like
Comet and PCW guarentee you nothing than high prices and a dire selection
of parts that are nothing more than marketing gimicks
(i.e. GeForceFX 52XX cards etc).
*/

For further h/w I will look into these links,
can you give a list of graphics cards worth looking into?

where will I get a cheapest possible ATI-Radeon 9800?

£150 is the cheapest I have found, (inc VAT I think),

also where can I get a VGA switcher: ie to switch between my A1200 and PC,
the ones I saw in PC-World are some £80 to £100 which seems a bit expensive
for some wires and a switch, I dont care if it says Belkin or NASA on it,


/*
Oh, you may want a hard-drive for that PC too
*/

they supply a 40Gig one, Windows seems to be pre-installed on it:
no Windows CD,

there is a DVD with 6 Windows progs,

 

Offline NightShade737

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 328
    • Show only replies by NightShade737
    • http://atomnet.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #73 on: April 16, 2004, 08:21:35 PM »
You really need to be a LOT more specific. You can't just say Radeon 9800, or even worse just GeForce. The name GeForce has been given to a line of cards spanning ~5 years, so giving me a price and saying GeForce doesn't mean anything.

The price on the 9800 is also useless unless it has an extension (SE, Pro, XT). From that price I guess it is an SE, which is a BAD price (roughly £115 new anywhere else). It could be a plain one with no extension, but you need to specify. The PC-World site gives me 2 hits, neight for that price.

VGA switches can range from £10 to £200, the price depends on the output quality and the features. Pay more if you want better quality.

I have no idea on A1 or Peg compatability as I don't care about either.
 

Offline whoosh777Topic starter

  • Full Member
  • ***
  • Join Date: Jun 2003
  • Posts: 114
    • Show only replies by whoosh777
    • http://www.whoosh777.pwp.blueyonder.co.uk
Re: 68k AGA AROS + UAE => winner!
« Reply #74 from previous page: April 16, 2004, 08:23:33 PM »


I forgot to attach the binary-image to MSDOS disk program,
is this program correct?


#include /* just includes */

#include

#include
#include
#include

int main( int argc , char **argv )
{
int ret = 20 , closer = 0 , SECTOR_SIZE , SECTOR_NUM , sector ;
struct MsgPort *TrackMP = 0 ;
struct IOExtTD *TrackIO = 0  ;
UBYTE *WriteBuffer = 0 ;
struct DriveGeometry *geom = 0 ;
FILE *fp = 0 ;

if( argc < 3 )
 {
 printf("%s binary_file unit [for_real]\n" , argv[0]) ;
 printf("eg\n%s ram:xys 1 1\n for PC1:" , argv[0] ) ;
 return( 20 ) ;
 }

fp = fopen( argv[ 1 ] , "r" ) ;
if( fp==0 ){ printf("couldnt open %s\n" , argv[ 1 ] ) ; return( 20 ) ; }

TrackMP = CreatePort( 0 , 0 ) ;
if( TrackMP==0 ){ printf("CreatePort error\n" ) ; goto cleanup ; }

TrackIO = (struct IOExtTD *)CreateExtIO( TrackMP , sizeof( struct IOExtTD ) ) ;
if( TrackIO==0 ){ printf("CreateExtIO error\n"); goto cleanup ; }

if( OpenDevice( "mfm.device" , atoi( argv[ 2 ] )  , (struct IORequest *)TrackIO , 0 ) )
 {
 printf("failed to open drive %d\n" , atoi(argv[2]));
 closer = 0 ;
 goto cleanup ;
 }
else closer = 1 ;


geom = AllocVec( sizeof( struct DriveGeometry ) , MEMF_PUBLIC | MEMF_CLEAR ) ;
TrackIO->iotd_Req.io_Data = geom ;
TrackIO->iotd_Req.io_Command = TD_GETGEOMETRY ;
DoIO( (struct IORequest *)TrackIO ) ;

printf("sector size=%d, numsectors = %d\n" , geom->dg_SectorSize ,
  geom->dg_TotalSectors ) ;

SECTOR_SIZE = geom->dg_SectorSize ;

SECTOR_NUM = geom->dg_TotalSectors ;

printf("sectors/track = %d, numsectors = %d\n" , geom->dg_SectorSize ,
  geom->dg_TotalSectors ) ;

if( argc==3 )goto cleanup ;

/* bytes/sector, sectors/drive, cylinders, sectors/cylinder, surfaces,
sectors/track,
*/
/* only support: full-sector writes on sector boundaries */


WriteBuffer = AllocVec( SECTOR_SIZE , MEMF_CLEAR | MEMF_PUBLIC ) ;

for( sector = 0 ; sector < SECTOR_NUM ; sector++ )
 {
 PutStr(".") ; Flush( Output() ) ;

 fread( WriteBuffer , 1 , SECTOR_SIZE , fp ) ;
 
 TrackIO->iotd_Req.io_Length = SECTOR_SIZE ;
 
 TrackIO->iotd_Req.io_Data = WriteBuffer ;
 TrackIO->iotd_Req.io_Offset = SECTOR_SIZE * sector ;
 TrackIO->iotd_Req.io_Command = CMD_WRITE ;
 DoIO( (struct IORequest *)TrackIO ) ;
 }

ret = 0 ;

cleanup:
if( WriteBuffer ){ FreeVec( WriteBuffer ) ; WriteBuffer = 0 ; }
if( geom ){ FreeVec( geom ) ; geom = 0 ; }
if( closer ){ CloseDevice( (struct IORequest *)TrackIO ) ; }
if( TrackIO ){ DeleteExtIO( (struct IORequest *)TrackIO ) ; TrackIO = 0 ; }
if( TrackMP ){ DeletePort( TrackMP ) ; TrackMP = 0 ; }
if( fp ){ fclose( fp ) ; fp = 0 ; }
return( ret ) ;
}