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 7 of 33 Topic 1393 of 1492
Post > Topic >>

Re: copying BIOS to a file

by ArarghMail712NOSPAM@[EMAIL PROTECTED] Dec 18, 2007 at 01:14 PM

On Tue, 18 Dec 2007 13:56:45 -0500, "Tom Lake" <tlake@[EMAIL PROTECTED]
>
wrote:

>
>"Auric__" <not.my.real@[EMAIL PROTECTED]
> wrote in message 
>news:fk93cr$p38$1@[EMAIL PROTECTED]
>> On Tue, 18 Dec 2007 18:28:57 GMT, Tom Lake wrote:
>
>>> It looks like I was missing something!  I believe you're right.
>>>
>>> DEF SEG = &HC000
>>> OPEN "BIOS.BIN" FOR OUTPUT AS #1
>>> FOR I=0 TO &HFFFF
>>> PRINT #1, CHR$(PEEK(I));
>>> NEXT
>>> DEF SEG=&HD000
>>> FOR I=0 TO &HFFFF
>>> PRINT #1, CHR$(PEEK(I));
>>> NEXT
>>> DEF SEG=&HE000
>>> FOR I=0 TO &HFFFF
>>> PRINT #1, CHR$(PEEK(I));
>>> NEXT
>>> DEF SEG=&HF000
>>> FOR I=0 TO &HFFFF
>>> PRINT #1, CHR$(PEEK(I));
>>> NEXT
>>> CLOSE #1
>>>
>>> Tom Lake
>>
>> How about:
>> OPEN "BIOS.BIN" FOR OUTPUT AS 1
>> FOR J = &HC0000 TO &HF0000 STEP &h10000
Too many zeros?

>> DEF SEG J
>> FOR I = 0 TO &hFFFF
>> PRINT #1, CHR$(PEEK(I));
>> NEXT I
>> NEXT J
>> CLOSE 1
>
>How about that!
>
>Would you believe I was going for clarity rather than brevity?
>Would you believe I just didn't think of it?  8^)
>
And a few comments:
I presume that the default variable is single.  If not, you should see
errors.

Unless the machine is REALLY old, all of the bios you will get is the
part that finally gets loaded at &hF000.

Bioses generally only occupy the &hF000 segment.  Though, I have seen
machines where &hE000 was a dup of &hF000.

-- 
ArarghMail712 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the extra stuff from the reply address.
 




 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 Thu Jul 24 15:34:44 CDT 2008.