Welcome, Guest. Please login or register.

Author Topic: PC still playing Amiga catchup  (Read 218134 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: PC still playing Amiga catchup
« Reply #194 on: June 02, 2009, 02:01:07 PM »
Quote from: Karlos;508758
LOL, excellent



Did the part not actually have a constant TSC register? Most current intel processors do.

...

It only talks about fixed counter using bus clock as opposed to processor frequency, but even the bus clocks vary with systems.


>Are you sure? It could just be that whichever version of the OS you are using doesn't let you use it.

No, remember I'm a low-level programmer so I went through the BIOS RSDT/FACP tables to detect the HPET table in DOS32 and it does not exist.

>But this is true on the PC for most things. Very few applications that need to bash the hardware directly are going to be universally compatible

HPET/RDTSC/PIT/Keyboards/VGA/IRQs and some other things are amongst those that have standard means of detecting and using directly at hardware level.

>Maybe not, but you can't possibly be suggesting that whatever code you execute every 558ns isn't going to add latency.

Copper executes the instructions at the exact cycle you want it to (558ns accuracy).  If I use processor frequency or CIA interrupts, I run into latency issues.

>Well, by the same token, I could roll a linux kernel that gives me just what I need to run "nano" and edit a few files.

Yeah, but I don't think it works in XP/Vista.
--------
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: PC still playing Amiga catchup
« Reply #195 on: June 02, 2009, 02:19:58 PM »
Quote
It only talks about fixed counter using bus clock as opposed to processor frequency, but even the bus clocks vary with systems.


Given that you can query this property, where is the problem?
int p; // A
 

Offline paolone

  • Sr. Member
  • ****
  • Join Date: Dec 2007
  • Posts: 382
    • Show only replies by paolone
    • http://www.icarosdesktop.org
Re: PC still playing Amiga catchup
« Reply #196 on: June 02, 2009, 04:36:28 PM »
Oh, my God! This flame made me laugh out loud at least twice. This joystick polling frequency argument frankly is the most silly I've ever heard in a computer architecture discussion, even more ridicolous than the old boot-time whining, and the only conclusion I can see for it, is that my Commodore 16 was the most powerful PC of all times, since it "booted" instantly, even faster than my later Commodore 128 (which took at least 1 second to initialize). My Amigas and then my PCs have always took more time to be ready for my input. So the C16 is the absolute winner here =)

PS: everywhere else, a "joystick polling frequency" argument would have been motivation for laughs, not for a 200 messages-long discussion. Please, let's do a reality check soon.
p.bes

 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: PC still playing Amiga catchup
« Reply #197 on: June 02, 2009, 05:48:12 PM »
Don't forget about the mighty VIC-20! Clearly beats the lame C16!:whack:

Honestly, I've got no idea what such a joystick polling frequency is meant to accomplish. 1 kHz is far beyond ridiculous - who's supposed to move the stick that fast?? And don't forget the (formerly) common PC joystick is an analogue entity where it takes a bit for the ADC to work. Digital joysticks are a lot faster. Actually they were since the joyports have been gone for some time.

Actually it's more of a 'I want a 100% defined hardware base where I can bang bare metal as I see fit' against a hardware abstracted architecture, held together with drivers. Clearly the former is easier to code for, but the fate of the Amiga clearly shows what consequences are implied and which one is a more future oriented solution.

My .02
 

Offline Linde

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: PC still playing Amiga catchup
« Reply #198 on: June 02, 2009, 06:24:12 PM »
Quote from: amigaksi;508689
Do you bother to read the posts that you reply to?  Looks like not in this case.  I stated not many people optimize programs (which is a fact): "Although PC horsepower allows it do 30fs/60fps, not many people spend the time to optimize and make their code/videos efficient since so much memory/hard drive storage is available. I just saw a "hello world" example on modern OSes give an executable output of 1 MB since it was linked and tied to some multi-function crap (MFC)."
So how are these people who don't optimize their code a fault of the system design?

Quote from: amigaksi;508689
I just compiled a hello world program and it was 1 MB; doesn't mean all compilers do that or you can't change the settings and eliminate the MFC.
Congratulations. How did this ever pass off as a valid argument when you wrote it down? I can make you a 1 GB hello world example to compile, that's how much PC:s suck!

Quote from: amigaksi;508689
As far as your blunder that size has no relation to speed, ever check MPEG videos.  If they were uncompressed, it would affect the speed.
That's totally besides the point. Weren't we discussing program size in relation to speed? Because MPEG files are not programs, and a smaller program doesn't mean a faster program.

Quote from: amigaksi;508689
I'll guarantee that it won't work with nonstandard hardware on everyone's PCs.
That's true for most 1k intros (which are often tightly tied to the features of a specific GPU), but I have some great looking 256 byte intros (that often use standard VGA software rendering) and 64k (which work on most graphics cards) that run on anything I throw them at. Now show me a demo that runs on any "standard" amiga without modification i e WHDLoad.

By the way, do you know there is no extreme "small coding" (i e < 256 bytes) scene for the Amiga? There is too much overhead to set the chip set up to do something interesting without using non-standard APIs.

Quote from: amigaksi;508689
You seemed to missed some posts in this thread (or ignored them).  Just because some 8-channel 16-bit card is available does NOT mean that everyone has it or that you can utilize it in comparing Amiga with PC.  With new hardware add-ons, any computer can do anything.  Talk about hardware that's available to most homes and compare with that-- then you can write some application and know that it will work on 99% of PCs out there.
If you want to look at it that way, you can't even compare the two different systems. I would argue that this design difference (monolithic vs. modular) is one of the factors of the death of the Amiga. But I can tell you that pretty much every multimedia home PC had a SB16 compatible sound card for pretty much a decade after it was released.

Quote from: amigaksi;508689
Bullcrap.  You have NO understanding of the gameport nor I/O timing on PCs.  I/O is much much slower than even memory.  I suggest you try to time the gameport yourself.  And no, gameport is NOT obsolete because Vista doesn't have a driver for it.  It exists out there in millions of homes.
Oh, the game port. I can't try it because I don't know anyone with a gameport joy-pad. I have a gameport on some of my sound cards though, which I sometimes use for MIDI which works fine and dandy with no noticable jitter or delay at 31.25 kbits/second (although I understand that these are two separate interfaces).

Quote from: amigaksi;508689
It was on the PCI surround sound Mag Dog Audio board I purchased a couple of years ago.  It's NOT a waste of cycles to sample at 1Khz or above.  I wrote a joystick recorder program and the time between changes of direction/firing goes to less than 1 ms in some cases for games like River-raid and others.  I can say sampling audio at 44Khz is a WASTE of space, but it's required to capture all possible audible frequencies.  Similarly, sampling joystick at 60Hz is NOT good enough.
Show me a game that samples the joystick at 1000Hz. I can imagine some bullet hell shoot'em'up would need pretty high sample rates, but I don't think you'll ever see anything going up that high. It is DEFINITELY not common to sample at more than 300Hz, so the test case is hardly a practical one. Your fingers and eyes are not as sensitive to high frequency information as your ears.

But yeah, go ahead, show me a game that uses and benefits from that high joystick sampling. Most Amiga games, I'm sure, don't sample more than a couple of times per redraw.

Quote from: amigaksi;508689
Are you like confused?  USB 3.0 has NOTHING to do with high precision timing.
Confused? That makes two of us, then. Yes, you do need pretty tight timing to transfer data at 5 GB/s, and the latency is lower than ever with USB (not that latency was ever an inherent problem with USB pads and sticks).

Quote from: amigaksi;508689
USB 3.0 is a specification; it's not out there in any joysticks. Show me a joystick that uses USB 2.0!
Quote from: amigaksi;508689
Joystick ports can also be used for general purpose parallel I/O
Quote from: Linde
If we are going to look at it like a general purpose I/O port
Quote from: Linde
general purpose I/O port
Quote from: Linde
I/O port
...

Quote from: amigaksi;508689
Once again comparing Amiga with nonexistent products or products that hardly anyone has.
Say what you want (or you could compare to USB 2 instead), but I'll bet that in a couple of years there will be more users of USB 3.0 enabled PC:s than there were ever Amiga users.

Quote from: amigaksi;508689
Get real.
Haha.
« Last Edit: June 02, 2009, 06:26:37 PM by Linde »
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: PC still playing Amiga catchup
« Reply #199 on: June 02, 2009, 08:00:32 PM »
USB 1.1, USB 2.0, USB 3.0 -  these are standards that tell you nothing about which transfer rate to expect in any given situation. You should seriously consider using the terms Low-Speed, Full-Speed, Hi-Speed and SuperSpeed... Most (all?) HID devices including joysticks use Low-Speed.
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: PC still playing Amiga catchup
« Reply #200 on: June 02, 2009, 08:30:00 PM »
Quote
Joystick gameports are in millions of existing PCs and they suck; they are inferior to Amiga's joystick ports. If you can't live with this fact of REALITY, that's not my problem.


You're right about game ports in general. As with most PC-compatible products, every vendor interpreted the specification differently, game port products from one manufacturer were often incompatible with products from another, and the game port itself performed rather poorly--hence USB.

The reality, though, is that game ports *were* in millions of existing PCs. They haven't been added to new PCs for years now, and mainstream electronics stores, e.g. Best Buy and Fry's Electronics in the Western United States, no longer carry game port-compatible products. This, among other things, is why operating systems provide hardware abstraction layers. (I know, it's obvious.) Performance is a trade-off, of course, but an input routine A will run on a system with API X, regardless of the underlying hardware. Smart programmers scale the features of their software to match the features reported by the API. That's the reality of today's consumer PC market.
 

Offline Fats

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 672
    • Show only replies by Fats
Re: PC still playing Amiga catchup
« Reply #201 on: June 02, 2009, 10:01:04 PM »
Quote from: paolone;508786
Oh, my God! This flame made me laugh out loud at least twice.


Don't spoil it. Keep the humor coming !

greets,
Staf.
Trust me...                                              I know what I\'m doing
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: PC still playing Amiga catchup
« Reply #202 on: June 02, 2009, 11:50:46 PM »
Quote from: paolone;508786
even more ridicolous than the old boot-time whining, .


"Boot-time whining"?  You don't think boot times are significant?  Why then at many Windows discussion forums do people regularly make posts about boot times being too long for Windows based PC's especially those that run Vista, why are there so many articles about how people can modify windows to improve boot times, why is Microsoft itself making a big deal that Win 7 boots faster on the same machines than Vista?  The woman in charge of Vista has publically said that Win 7 & MS will attempt to address something they have failed to do in the past: make the PC responsive to the user, put the user in control, meaning that its an admission that its previous OS's weren't this, something the Amiga always has done.  Boot time is one of the top two or three things that concern MS and PC users, it MATTERS.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: PC still playing Amiga catchup
« Reply #203 on: June 02, 2009, 11:56:58 PM »
Quote from: stefcep2;508850
"Boot-time whining"?  You don't think boot times are significant?  Why then at many Windows discussion forums do people regularly make posts about boot times being too long for Windows based PC's especially those that run Vista, why are there so many articles about how people can modify windows to improve boot times, why is Microsoft itself making a big deal that Win 7 boots faster on the same machines than Vista?  The woman in charge of Vista has publically said that Win 7 & MS will attempt to address something they have failed to do in the past: make the PC responsive to the user, put the user in control, meaning that its an admission that its previous OS's weren't this, something the Amiga always has done.  Boot time is one of the top two or three things that concern MS and PC users, it MATTERS.


I use a Mac, I rarely turn my machine off... I just put it to sleep... I don't care about boot times.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: PC still playing Amiga catchup
« Reply #204 on: June 03, 2009, 12:00:28 AM »
Give any sane person just the two choices below:

1) Fast boot time

or

2) Little need to (re)boot once up

Guess what they pick?

Being able to boot faster might be important to casual users, but for those of us that actually do real work on a PC, system stability once booted is absolutely paramount. Nothing else, whatsoever, is anywhere near as important.

My Amigas all crash, not too frequently but usually without any warning and at the most inopportune times. They can't stay up for extended periods. The (classic) OS suffers memory fragmentation, even with patches to help minimise it. AmigaOS might boot fast, but it isn't a safe working environment. I've lost count of the number of times I've lost work on it. Now I use KDevelop and edit source code for amiga projects (yep, I'm slowly getting into it again) in a directory on my linux machine that's shared over the network with the A1 and A1200. This way, I never lose anything. Why? Because Linux is far more stable. You don't get processes trashing each other's memory. You don't get large allocations splitting the available ram into two non conttiguous  blocks, you don't get sudden deadlocks caused by magic menu and StormC's built in editor failing to get along. You don't get the results of your own accidental bugs in assembler code you didn't notice at 2am bringing down the whole machine in technicolour glory...
« Last Edit: June 03, 2009, 12:07:33 AM by Karlos »
int p; // A
 

Offline meega

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 952
    • Show only replies by meega
Re: PC still playing Amiga catchup
« Reply #205 on: June 03, 2009, 12:07:38 AM »
Hibernate works nicely here.
:)
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: PC still playing Amiga catchup
« Reply #206 on: June 03, 2009, 12:14:28 AM »
Quote from: meega;508853
Hibernate works nicely here.


In the few times I've bothered to hibernate Vista (since I don't tend to use it often), it's woken back up again to normal operation in less than 30 seconds.
int p; // A
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: PC still playing Amiga catchup
« Reply #207 on: June 03, 2009, 12:50:05 AM »
Quote from: bloodline;508851
I use a Mac, I rarely turn my machine off... I just put it to sleep... I don't care about boot times.

@ Karlos
@meega.

I see.  The solution to slow boot times is ........don't turn of fthe computer. May be OK for the minority-yes the majority of users power their machines down.  My A1200 hasn't crashed in many months: but then I don't have a Frankenstein hack, I don't use software written by amateurs.

So you admit the PC is still playing catchup with the Amiga then.  No amount of work around will change the fact that PC's take a factor of at least 10x longer to boot, despite having clock speeds in every hardware component that are factor of 100 faster.
« Last Edit: June 03, 2009, 01:07:28 AM by stefcep2 »
 

Offline meega

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 952
    • Show only replies by meega
Re: PC still playing Amiga catchup
« Reply #208 on: June 03, 2009, 12:55:15 AM »
Quote from: stefcep2;508862
@ Karlos
@meega.

I see.  The solution to slow boot times is ........don't turn of fthe computer. May be OK for the minority-yes the majority of users power their machines down.


I do power down my computer - every time it hibernates it shuts down completely. That's what hibernating is all about.
:)
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: PC still playing Amiga catchup
« Reply #209 from previous page: June 03, 2009, 12:57:37 AM »
Quote from: stefcep2;508862
@ Karlos
@meega.

I see.  The solution to slow boot times is ........don't turn of fthe computer. May be OK for the minority-yes the majority of users power their machines down.  My A1200 hasn't crashed in many months: but then I don't have a Frankenstein hack, I don't use software written by amateurs.


Try running your amiga for several weeks continuously and see how stable it isn't.

When you say slow, you are still talking about a minute at most. Which is only slow if you suffer from some form of attention deficit disorder. If your boot is taking longer than that, perhaps you have a totally clapped out unmaintained heap of scrap for a PC, because it really shouldn't.

Quote
So you admit the PC is still playing catchup with the Amiga then.  No amount of work around will change the fact that PC's take a factor of at least 10x longer to boot, despite having clock speeds in every hardware component that are factor of 1000 faster.


Nope. See my earlier post. My PC boots faster than my A1200 running an otherwise base OS3.9. Whereas my A1200 loads a fairly minimal OS3.9 for my needs, my PC loads a full desktop OS and an entire suite of server services. It may be a factor 100x (not 1000) faster by CPU clockspeed, but it does more than 100x the amount of work, every second it is up.
int p; // A