English Amiga Board


Go Back   English Amiga Board > abime.net - Home Projects > project.EAB

 
 
Thread Tools
Old 01 April 2002, 02:46   #1
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 46
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Possibly wrong calculation of kB sizes

Hi,

Twist has just upped Darkside for a user, and the information in the zone said '501 kB'.
This isn't correct. The file is only 488 kB.
In bytes, this is 500,700 bytes. But since

1 kB = 1024 bytes

and not 1000 bytes, the rounded value of 501,000 bytes is NOT equal to 501 kB.
andreas is offline  
Old 01 April 2002, 14:31   #2
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 42
Posts: 2,972
the game take 500 708 bytes, rounded to 501 k by the zone.
blame your windows which display 488 ko, not me
RCK is offline  
Old 01 April 2002, 23:43   #3
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 46
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Exclamation Windows is right!

NO!
Windows is right!
Again ... 500,000 Bytes is NOT EQUAL to 500 kB.

"Kilo" is Greek for 1000, but on computers this is different and it's 1024 (2^10):

1 MB = 1024 kB (edited)
1 GB = 1024 MB

If the file is, say, 400,823 bytes, it can be rounded to 401,000 bytes, and this is NOT 401 kB but
401,000 Bytes / 1,024 = 391.6 kB
You have to divide the byte value by 1,024 to get the correct kB value. I know I'm 100% right, for I'm still studying that stuff

Last edited by andreas; 02 April 2002 at 01:41.
andreas is offline  
Old 01 April 2002, 23:51   #4
RetroMan
Registered User
RetroMan's Avatar
 
Join Date: Aug 2001
Location: Germany
Age: 47
Posts: 3,704
Re: Windows is right!

Quote:
Originally posted by andreas
1 MB = 1024 Bytes
Uhmmm, your studying ??? 1MB = 1024KB
RetroMan is offline  
Old 02 April 2002, 01:41   #5
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 46
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
corrected now. thanks
andreas is offline  
Old 03 April 2002, 18:41   #6
fiath
Moderator
fiath's Avatar
 
Join Date: Jan 2002
Location: South East / UK
Age: 42
Posts: 1,930
andreas: Actually - "officially" you are wrong.

Kilobyte = 1000 bytes
*Kibi*byte = 1024 bytes

look here:

http://physics.nist.gov/cuu/Units/binary.html
fiath is offline  
Old 03 April 2002, 22:32   #7
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 46
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Evil grin

heheh...nice stuff you dug out there. Thanks for this. As usual, the standardizational organizations are suggesting things, and virtually nobody uses them. This can be compared to the same situation of 'kcal' (kilocalory) and 'kJ' (kilojoule).
Since the end of the seventies, the 'kcal' has officially been declared obsolete, but everyone has been using it ever since until present day. And they use it THE WRONG WAY! If we, in Germany, say "das Essen hat 800 Kalorien" we actually mean "the food has 800 kilocalories"! Here, the 'kilo' has completely disappeared from the unit, so a physician must go mad because this is 1000 times as much!

But nevertheless, according to linguistic usage, I AM RIGHT.
Otherwise, this would require 90% of all software (e.g. MP3 servers and clients, etc.) to be rewritten.
OH HELP. Imagine that!

Last edited by andreas; 03 April 2002 at 22:49.
andreas is offline  
Old 03 April 2002, 22:37   #8
Belgarath
HOL Team Member

Belgarath's Avatar
 
Join Date: Dec 2001
Location: Manchester
Posts: 2,414
1024 bytes does equal 1kb

it's sometimes rounded down to 1000 so as not to confuse people
Belgarath is offline  
Old 03 April 2002, 22:41   #9
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 46
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Arrow

So Belgarath, you too would agree with me that the kB sizes aren't calculated correctly in the zone?
andreas is offline  
Old 03 April 2002, 22:52   #10
Belgarath
HOL Team Member

Belgarath's Avatar
 
Join Date: Dec 2001
Location: Manchester
Posts: 2,414
i totally agree with you
they are definitely not calculated correctly
Belgarath is offline  
Old 04 April 2002, 00:31   #11
fiath
Moderator
fiath's Avatar
 
Join Date: Jan 2002
Location: South East / UK
Age: 42
Posts: 1,930
Quote:
Originally posted by andreas
But nevertheless, according to linguistic usage, I AM RIGHT.
I did say "offically"

But to everybody in the industry you are right
fiath is offline  
Old 04 April 2002, 00:35   #12
fiath
Moderator
fiath's Avatar
 
Join Date: Jan 2002
Location: South East / UK
Age: 42
Posts: 1,930
Quote:
Originally posted by Belgarath
1024 bytes does equal 1kb

it's sometimes rounded down to 1000 so as not to confuse people
If by "kb" you mean kilobyte then it doesn't really - read the article. The only ones that have got it right "technically" and "offically" are the hard disk manufacturers.

Memory and floppy manufactures do it completely different ways too, and both "technically" and "offically" wrong.

Here is another link on the subject by one of the MAME devs:

http://www.aarongiles.com/funfacts.html
fiath is offline  
Old 04 April 2002, 02:32   #13
Djay
aka breakpoint

Djay's Avatar
 
Join Date: May 2001
Location: Brighton / UK
Age: 44
Posts: 3,091
infact, your all totally and utterly wrong

KB actually means Kipper Bait, and kipper bait is a small plastic bait used for catching fish, KB weighs 1LB (Large Balloon), so in basic terms LB=KB=LoadOfBollocKs

Djay is offline  
Old 04 April 2002, 02:46   #14
Fissuras
Old Luny

Fissuras's Avatar
 
Join Date: Sep 2001
Location: Brazil
Age: 50
Posts: 570
what about "koctetrulez"????????

in good portuguese: what the "PORRA" is that?????
Fissuras is offline  
Old 04 April 2002, 13:38   #15
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 42
Posts: 2,972
It's just a little joke until I fix the size of kB
" Koctet(french for Kb) rules "
RCK is offline  
Old 04 April 2002, 13:40   #16
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 46
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
LMAO!
:haha:haha
Have we just turned into a hackers' board now?
RCK, th3 4dministr47or of th3 4mig4 l337 s7rik3s 4g41n! :laugh

//RCK: tips > LMAO = Laugh(ing) My Ass Off
andreas is offline  
Old 04 April 2002, 20:47   #17
Djay
aka breakpoint

Djay's Avatar
 
Join Date: May 2001
Location: Brighton / UK
Age: 44
Posts: 3,091
l33S 0f th3 h4<K3R S|-|| T

:-)
Djay is offline  
Old 05 April 2002, 10:44   #18
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 42
Posts: 2,972
coz we rulez
RCK is offline  
Old 05 April 2002, 10:47   #19
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 42
Posts: 2,972
Arrow

[ file size is now fix ]
RCK is offline  
Old 05 April 2002, 12:11   #20
Fissuras
Old Luny

Fissuras's Avatar
 
Join Date: Sep 2001
Location: Brazil
Age: 50
Posts: 570
So Koctet ruling is over. Not a too long ruling I suppose.
Fissuras is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Locating File Sizes on WB2.1 clitosa New to Emulation or Amiga scene 33 16 December 2012 10:22
Partition sizes Yesideez support.Hardware 3 12 November 2012 17:52
Matrix calculation questions (HowToCode) kae Coders. General 3 20 January 2012 02:42
Are there two sizes for kick13.rom? MickJT Amiga scene 3 15 August 2007 00:49
Calculation of Amiga <-> PC transfer time andreas Retrogaming General Discussion 4 14 September 2001 22:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.12301 seconds with 13 queries