Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > Re: copying BIO...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 31 of 33 Topic 1393 of 1488
Post > Topic >>

Re: copying BIOS to a file

by "Auric__" <not.my.real@[EMAIL PROTECTED] > Dec 19, 2007 at 11:23 PM

On Wed, 19 Dec 2007 22:43:52 GMT, Judson McClendon wrote:

> "Auric__" <not.my.real@[EMAIL PROTECTED]
> wrote:
>> Judson McClendon wrote:
>>> "Auric__" <not.my.real@[EMAIL PROTECTED]
> wrote:
>>>>
>>>> I prefer PowerBasic myself. The Windows versions default to
>>>> signed LONG (DOS version defaults to INTEGER, 16 bits) and
>>>> include both signed and unsigned integers. (PowerBasic's WORD is
>>>> unsigned; 16-bit signed int is INTEGER.)
>>>
>>> I like PowerBASIC myself. But there is no signed 8 bit type,
>>
>> The only BASIC that I can recall seeing a signed byte in is
>> XBasic, but I could be remembering wrong. I've never had a use for
>> signed bytes, though.
>>
>> FreeBASIC is interesting in that it sort of does what I mentioned
>> earlier: on 32-bit platforms (Win32 and Linux, presumably also
>> FreeBSD) its INTEGER type is 32 bits, but under DOS it's 16 bits.
>> (I don't remember what the default data type is, but I *think*
>> it's INTEGER.) 
>>
>>> or
>>> unsigned 64 bit type. Not that big a deal, but both would have
>>> been useful to me.
>>
>> Yeah, I've had a couple of situations where a ulonglong (or
>> whatever) would've been handy. In PB, I usually fake it with a
>> CURRENCYX (64-bit fixed-point); for other BASICs, it depends on
>> what data types they offer.
>
> My main point of contention with PowerBASIC here is that compiler
> vendors should not be in the business of saying "I don't think
> anyone will need xyz" (e.g. signed byte, unsigned 64 bit), that is
> sup****ted by the CPU, because the whole point of a compiler is that
> you are going to use it to create applications that didn't exist
> until you create them. Compilers are enablers, not limiters. By
> definition, the creation of new things is not a process that should
> be stifled a priori. And compilers should be orthogonal as much as
> possible. It doesn't make sense to sup****t 8, 16, 32 and 64 bit
> numeric variables, but only some of them can be both signed and
> unsigned. It's arbitrarily crippled thinking, and it also violates
> the design Law of Least Astonishment. In other words, it is a
> design flaw to have omitted them.

I agree, although in this specific case you could fake sbytes using 
inline assembly. (I'm sure that ulonglongs could also be faked better 
than I do it, I just don't know how.)

-- 
Meanwhile, Australia is down there like, "WTF, mate?"
 




 33 Posts in Topic:
copying BIOS to a file
Allan Adler <ara@[EMAI  2007-12-18 11:27:40 
Re: copying BIOS to a file
"Tom Lake" <  2007-12-18 12:22:35 
Re: copying BIOS to a file
H-Man <I-Hate@[EMAIL P  2007-12-18 10:56:17 
Re: copying BIOS to a file
"Tom Lake" <  2007-12-18 13:28:57 
Re: copying BIOS to a file
"Auric__" <n  2007-12-18 18:26:36 
Re: copying BIOS to a file
"Tom Lake" <  2007-12-18 13:56:45 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-18 13:14:30 
Re: copying BIOS to a file
"Auric__" <n  2007-12-18 20:07:02 
Re: copying BIOS to a file
"Auric__" <n  2007-12-18 20:09:14 
Re: copying BIOS to a file
"Tom Lake" <  2007-12-18 15:18:25 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-18 14:40:44 
Re: copying BIOS to a file
"Auric__" <n  2007-12-18 21:51:17 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-18 16:29:06 
Re: copying BIOS to a file
cavelamb himself <cave  2007-12-18 16:55:01 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-18 18:53:58 
Re: copying BIOS to a file
"Tom Lake" <  2007-12-18 22:18:43 
Re: copying BIOS to a file
ppnerkDELETETHIS@[EMAIL P  2007-12-19 11:37:12 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-19 18:52:06 
Re: copying BIOS to a file
"Tom Lake" <  2007-12-19 20:36:33 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-19 18:50:34 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-18 14:39:30 
Re: copying BIOS to a file
"Auric__" <n  2007-12-18 21:54:17 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-18 16:34:48 
Re: copying BIOS to a file
"Auric__" <n  2007-12-19 15:10:21 
Re: copying BIOS to a file
ArarghMail712NOSPAM@[EMAI  2007-12-19 18:56:10 
Re: copying BIOS to a file
H-Man <I-Hate@[EMAIL P  2007-12-19 10:07:13 
Re: copying BIOS to a file
"Auric__" <n  2007-12-19 20:23:26 
Re: copying BIOS to a file
"Judson McClendon&qu  2007-12-19 15:27:19 
Re: copying BIOS to a file
"Auric__" <n  2007-12-19 21:57:36 
Re: copying BIOS to a file
"Judson McClendon&qu  2007-12-19 16:43:52 
Re: copying BIOS to a file
"Auric__" <n  2007-12-19 23:23:09 
Re: copying BIOS to a file
"R.Nicholson" &  2007-12-19 18:34:06 
Re: copying BIOS to a file
Derek <derekrss@[EMAIL  2007-12-19 20:11:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 20:37:50 CDT 2008.