Welcome, Guest. Please login or register.

Author Topic: real amiga vs winuae  (Read 49136 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: real amiga vs winuae
« Reply #194 from previous page: June 10, 2009, 06:16:33 PM »
Quote from: Karlos;510321
That's a bit of a pointless criterion to pick.

The 060 doesn't support every instruction that the 000-030 used and has to rely on software emulation for the unimplemented instructions. We know your views on emulation, isn't real, it isn't timing precise, etc. So, does your amiga stop being real the moment you put an 060 card in it?


If there's a REAL Amiga 060 and emulated version is not like it, then it's not as good.  Someone may have exploited the 060 features in his real amiga for his own purposes and if these can't be done on emulated amiga, then it's different.  But in general use (most existing software uses), the core of the Amiga is it's custom chipset (OCS/AGA/ECS) and that involves more than just "looking the same".
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: real amiga vs winuae
« Reply #195 on: June 10, 2009, 06:18:52 PM »
Quote from: amigaksi;510401
I use floppy simulation so no rotten floppy disks.


What!?
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: real amiga vs winuae
« Reply #196 on: June 10, 2009, 07:50:30 PM »
Quote from: amigaksi;510403
If there's a REAL Amiga 060 and emulated version is not like it, then it's not as good.  Someone may have exploited the 060 features in his real amiga for his own purposes and if these can't be done on emulated amiga, then it's different.  But in general use (most existing software uses), the core of the Amiga is it's custom chipset (OCS/AGA/ECS) and that involves more than just "looking the same".


There needs to be a disclaimer here:

"None of this post makes any sense."

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: real amiga vs winuae
« Reply #197 on: June 10, 2009, 07:52:04 PM »
Quote from: amigaksi;510401
Never had problems with leaky batteries.  A500/A1000 didn't have any batteries on them.  Capacitors, dirty drive heads, etc. isn't restricted to Amigas.  Amiga also has parallel transfers (which I find quite useful for playing with custom devices).  Sorry, my joystick has yet to break and all things eventually break.  Regional display format is also common in video industry; however, I have a PAL and NTSC amiga running in America.  I use floppy simulation so no rotten floppy disks.


Quote from: Trev;510406
What!?


What amigaski means, is that emulation is bad unless he uses it.... :roll:

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: real amiga vs winuae
« Reply #198 on: June 10, 2009, 08:01:21 PM »
Quote from: Trev;510406
What!?


His post was biased.  I have had battery leaks in a Thinkpad so that means I am better off with an Amiga 500 w/o a battery?  You have to maintain any PC-- even hard drives have their MTBF.  And you can add new peripherals to Amiga as well as to a PC.  Floppy simulator allows you to use disk images rather than real disks (although I must admit, some of my old disks still work just fine).
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: real amiga vs winuae
« Reply #199 on: June 10, 2009, 09:31:45 PM »
Quote from: amigaksi;510403
If there's a REAL Amiga 060 and emulated version is not like it, then it's not as good.  Someone may have exploited the 060 features in his real amiga for his own purposes and if these can't be done on emulated amiga, then it's different.  But in general use (most existing software uses), the core of the Amiga is it's custom chipset (OCS/AGA/ECS) and that involves more than just "looking the same".

You see, if you knew even half as much about the design of the original Amiga hardware as you try to impress upon us in threads like this, you'd know that the 68000 was as integral to the design of the system as any of the custom chips.

The entire DMA subsystem was designed around the fact that the 68000 could not access the chip memory more than once every 2 cycles, nor did it have any cache mechanism that would cause problems with dirty data. This allowed the designers to engineer  a system where the custom hardware and CPU could each access the memory in the most direct and efficient way possible. Priority was given to the custom chips when the amount of data access exceeded half the bandwidth but they did have the foresight to make sure that "Fast" memory could be added to allow the CPU to run at full speed when the custom chips start using more than half the available chip memory bandwidth.

So, to suggest that the 68000 was not an integral part of the overall hardware design, is frankly bollocks.

Faster CPU's only work in there thanks to the Fast RAM side of the design. The moment you put even a 68020 into the original design, without Fast RAM, it is crippled. It doesn't fit into the original one access every 2 cycles design as it is capable of a memory access every cycle and is thus forced to wait. Even with Fast RAM, thanks to the instruction cache, it's also no longer compatible with just "any old" 68000 code. Anything self modifying is doomed to fail spectacularly since the instruction cache is never, ever written to by data writes.

So, by your argument any Amiga that has a 68020+ is not perfectly backwards compatible with the original OCS design and is therefore not a real amiga. The problem just gets worse with every faster 680x0. The 030 even has a data cache. That totally craps on the original DMA system unless you turn it off for the 24-bit DMA region. Which is exactly what they had to do.

With the 040 and especially 060, you even have to start emulating several instructions. Emulation? Surely that's no better than UAE :rolleyes:

In short, all this talk of "doing everything the exact sane way a real amiga does it" is total drivel because most actual physical amigas do things that are completely outside the original 68000/OCS design.
« Last Edit: June 11, 2009, 11:32:19 AM by Karlos »
int p; // A
 

Offline jkirk

  • Hero Member
  • *****
  • Join Date: Feb 2005
  • Posts: 911
    • Show only replies by jkirk
Re: real amiga vs winuae
« Reply #200 on: June 11, 2009, 11:00:04 AM »
Quote
A500/A1000 didn't have any batteries on them.

eh? you must have never put an a501 in then.
The only stupid question is a question not asked.  


Win•dows: n. A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can\'t stand one bit of competition.
 

Offline hooligan

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 515
    • Show only replies by hooligan
    • http://www.mikseri.net/hooligan
Re: real amiga vs winuae
« Reply #201 on: June 11, 2009, 11:04:44 AM »
@Karlos

Amen brother.
 

Offline Roondar

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 109
    • Show only replies by Roondar
    • http://www.powerprograms.nl/
Re: real amiga vs winuae
« Reply #202 on: June 11, 2009, 11:18:08 AM »
Quote from: Karlos;510444
You see, if you knew even half as much about the design of the original Amiga hardware as you try to impress upon us in threads like this, you'd know that the 68000 was as integral to the design of the system as any of the custom chips.

The entire DMA subsystem was designed around the fact that the 68000 could not access the chip memory more than once every 2 cycles, nor did it have any cache mechanism that would cause problems with dirty data. This allowed the designers to engineer  a system where the custom hardware and CPU could each access the memory in the most direct and efficient way possible. Priority was given to the custom chips when the amount of data access exceeded half the bandwidth but they did have the foresight to make sure that "Fast" memory could be added to allow the CPU to run at full speed when the custom chips start using more than half the available chip memory bandwidth.

So, to suggest that the 68000 was not an integral part of the overall hardware design, is frankly bollocks.

Faster CPU's only work in there thanks to the Fast RAM side of the design. The moment you put even a 68020 into the original design, without Fast RAM, it is crippled. It doesn't fit into the original one access every 2 cycles design. Even with Fast RAM, thanks to the instruction cache, it's also no longer compatible with just "any old" 68000 code. Anything self modifying is doomed to fail spectacularly since the instruction cache is never, ever written to by data writes.

So, by your argument any Amiga that has a 68020+ is not perfectly backwards compatible with the original OCS design and is therefore not a real amiga. The problem just gets worse with every faster 680x0. The 030 even has a data cache. That totally craps on the original DMA system unless you turn it off for the 24-bit DMA region. Which is exactly what they had to do.

With the 040 and especially 060, you even have to start emulating several instructions. Emulation? Surely that's no better than UAE :rolleyes:

In short, all this talk of "doing everything the exact sane way a real amiga does it" is total drivel because most actual physical amigas do things that are completely outside the original 68000/OCS design.


I'd go so far to say that this feature (the way these chips are integrated into the whole) sum up both the brilliance of the design and the root cause of it's eventual failure to keep up.

Commodore was really caught between a rock and a hard place here: either you upgrade the system and lots of old stuff breaks or you keep compatibility but your system performance suffers. Both not really great positions to be in.
 

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: real amiga vs winuae
« Reply #203 on: June 11, 2009, 12:16:45 PM »
Quote from: Karlos;510444
You see, if you knew even half as much about the design of the original Amiga hardware as you try to impress upon us in threads like this, you'd know that the 68000 was as integral to the design of the system as any of the custom chips.
...

I never tried to impress upon anyone my knowledge of Amiga hardware.  Perhaps, that's what you are trying to do.  I was just asking someone about Pegasos which I never heard of before.  I don't have any 68060 system so I stated my comments with "if".

>So, to suggest that the 68000 was not an integral part of the overall hardware design, is frankly bollocks.

If you did not rely on the timing of the 68000 in your code and just relied on the instructions getting executed and used the CIA, Copper, and other timers for the timing, then it shouldn't matter if it's 68000, 68020, or other backward compatible processor.

>Faster CPU's only work in there thanks to the Fast RAM side of the design. The moment you put even a 68020 into the original design, without Fast RAM, it is crippled. It doesn't fit into the original one access every 2 cycles design as it is capable of a memory access every cycle and is thus forced to wait. Even with Fast RAM, thanks to the instruction cache, it's also no longer compatible with just "any old" 68000 code. Anything self modifying is doomed to fail spectacularly since the instruction cache is never, ever written to by data writes.

The 68020 is still called backward compatible with 68000 just like Pentium is backward compatible with 8088 although it has similar problems with caching.

>So, by your argument any Amiga that has a 68020+ is not perfectly backwards compatible with the original OCS design and is therefore not a real amiga.

No, you still write to the same hardware registers on 68020+ and get the same results.

>The problem just gets worse with every faster 680x0. The 030 even has a data cache. That totally craps on the original DMA system unless you turn it off for the 24-bit DMA region. Which is exactly what they had to do.

I don't think you understood my argument-- if you use 68000 to time your code instead of other generic timers, then that means that emulator should be able to that same timing.  If you write general code that works across all 680x0 processors, then you can't be relying on the timing of the processor.

>With the 040 and especially 060, you even have to start emulating several instructions. Emulation? Surely that's no better than UAE :rolleyes:

I don't see how that affects the timing.  If you do LOOP instruction in 80x86, it takes more cycles than doing DEC/Branch but earlier processors had it the other way.  

>In short, all this talk of "doing everything the exact sane way a real amiga does it" is total drivel because most actual physical amigas do things that are completely outside the original 68000/OCS design.

If you rely on those 680x0 specific timing features, then those timings should be exact as well.
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: real amiga vs winuae
« Reply #204 on: June 11, 2009, 12:18:44 PM »
Quote from: jkirk;510555
eh? you must have never put an a501 in then.


Actually, I have an ICD expansion in my A500 that has the same silver battery as PC desktops and has yet to leak.  The Thinkpad on the other hand had 3 NiMH batteries in some plastic and that leaked.
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: real amiga vs winuae
« Reply #205 on: June 11, 2009, 12:22:41 PM »
Quote from: bloodline;510420
What amigaski means, is that emulation is bad unless he uses it.... :roll:


Floppy simulator is a peripheral-- people already buy peripherals from various manufacturers.  It performs it's tasks on a cycle by cycle basis where each cycle must finish within the 2 microsecond window.  It works 500kb/s and T=1/f so t = 2 microseconds for every cycle.
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline Roondar

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 109
    • Show only replies by Roondar
    • http://www.powerprograms.nl/
Re: real amiga vs winuae
« Reply #206 on: June 11, 2009, 12:45:20 PM »
Quote from: amigaksi;510563

If you rely on those 680x0 specific timing features, then those timings should be exact as well.


If WinUAE is cycle exact for a specific 680x0 chip, then this is from the point of view of the emulated environment exactly what happens.

Now, obviously, if you access stuff outside of the emulated environment that is timing critical this may fail due to a variety of factors.

But, if you use timing critical software on an Amiga that is not the same spec as another Amiga this can (and often will) also fail. There are lots of different Amiga's out there, all subtly (or not so subtly) different. Some hardware for A1200's for instance doesn't work on all models, some expansions for other Amiga's actually require specific motherboard revisions to work reliably, etc.
 

Offline Hammer

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1996
  • Country: 00
    • Show only replies by Hammer
Re: real amiga vs winuae
« Reply #207 on: June 12, 2009, 11:54:01 PM »
Quote from: amigaksi;510563
I never tried to impress upon anyone my knowledge of Amiga hardware.  Perhaps, that's what you are trying to do.  I was just asking someone about Pegasos which I never heard of before.  I don't have any 68060 system so I stated my comments with "if".

>So, to suggest that the 68000 was not an integral part of the overall hardware design, is frankly bollocks.

If you did not rely on the timing of the 68000 in your code and just relied on the instructions getting executed and used the CIA, Copper, and other timers for the timing, then it shouldn't matter if it's 68000, 68020, or other backward compatible processor.

>Faster CPU's only work in there thanks to the Fast RAM side of the design. The moment you put even a 68020 into the original design, without Fast RAM, it is crippled. It doesn't fit into the original one access every 2 cycles design as it is capable of a memory access every cycle and is thus forced to wait. Even with Fast RAM, thanks to the instruction cache, it's also no longer compatible with just "any old" 68000 code. Anything self modifying is doomed to fail spectacularly since the instruction cache is never, ever written to by data writes.

The 68020 is still called backward compatible with 68000 just like Pentium is backward compatible with 8088 although it has similar problems with caching.

Somebody needs to read up on Pentium Pro/Pentium II's handling of self-modify code and cache.

Part1

Part2
« Last Edit: June 13, 2009, 12:00:02 AM by Hammer »
Amiga 1200 PiStorm32-Emu68-RPI 4B 4GB.
Ryzen 9 7900X, DDR5-6000 64 GB, RTX 4080 16 GB PC.
 

Offline the_leander

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3448
    • Show only replies by the_leander
    • http://www.extropia.co.uk/theleander/
Re: real amiga vs winuae
« Reply #208 on: June 13, 2009, 03:24:44 AM »
Quote from: amigaksi;510563
Nimnimnimnimnimnimnimnim
I don't think you understood my argument nimnimnimnimnimnimnimnimnimnimnimnim timings should be exact as well.


Again with confusing cycles and timing (seriously, are you doing this deliberately?).

As has been stated, repeatedly, by multiple folks on here: Timing, especially on the Amiga is an inexact thing. It is different between any two Amigas since the timing comes not from the processor, but by the crystal oscillator. Those Crystal oscillators are far from exact. It gets even worse when you consider that PAL and NTSC Amigas have different timings altogether.

None of which invalidates anything that Karlos has said.
Blessed Be,
Alan Fisher - the_leander

[SIGPIC]http://www.extropia.co.uk/theleander/[/SIGPIC]
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: real amiga vs winuae
« Reply #209 on: June 13, 2009, 03:29:53 AM »
If WinUAE has it any shortcomings the fact that its free (at no cost to you) might have something to do with that. Also the fact that they are not allowed to copy Amiga patents and copyrighted code (not sure if they got permission for at least some of it) could be a contributing factor.

     Any argument against WinUAE is pretty petty. Something better to argue about would be: Why was Shapeshifter on Amiga faster than a real Mac? (I think hardware and the price of said hardware was the reason).
Go Go Gadget Signature!