Jump to content
IGNORED

How to do file I/O in assembler ?


retroclouds

Recommended Posts

I believe I did a quick break-down of a utility which save chunks of memory from MiniMemory...

 

(EDIT)

 

Here

 

and

 

Here

 

 

And, BTW, what is with all the broken PhotoBucket links? Do they expire after time? If so, that kinda sucks for posterity.

Edited by OLD CS1
Link to comment
Share on other sites

There is a nice exemple on page 293 of the E/A manual.

 

You just has to change "READ" from 2 to 3 and change the "VMBR from pabbuf to buffer" by a "VMBW from buffer to pabbuf" and put that before the write operation.

 

There is a typo: PNTR should EQUed to >8356

 

If you read C, you can check the source from RUSH HOUR: http://www.atariage.com/forums/topic/186797-rush-hour/page__view__findpost__p__2360340

Sometimes, it's more readable than a manual.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...