flat assembler
Message board for the users of flat assembler.

Index > Heap > Example code for M. Johnson's Assembly for Real Programmers

Author
Thread Post new topic Reply to topic
pawlinator



Joined: 18 Oct 2010
Posts: 1
pawlinator
I bought this book online about a week ago and the mailman was kind enough to fold it before stuffing it into the mailbox. Anyhow, the floppy disk with the example code is unreadable Sad

Does anybody know where I can get the example code from the book?

Author: Marcus Johnson
Publisher: Sams
Title: Assembly Language For Real Programmers Only! (1993)
ISBN-10: 0672484706

Thanks
Post 18 Oct 2010, 15:40
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
Try contacting the author.

A floppy disk? From 17 years ago? And you expect it to still work even without begin bent? Somehow I expect it wouldn't have worked anyway.
Post 19 Oct 2010, 06:50
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7740
Location: Kraków, Poland
Tomasz Grysztar
revolution wrote:
A floppy disk? From 17 years ago? And you expect it to still work even without begin bent? Somehow I expect it wouldn't have worked anyway.
Well, recently I found 13-year old book with a 5.25 floppy that was never used (since I already did not have a 5.25 drive at the time when I bought this book). And this year I had an opportunity to try it - and it still works, even without any bending. Perhaps it is some time around 15 years old when floppies turn unreadable? Wink
Post 19 Oct 2010, 06:56
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
You must have very floppy-disk-friendly humidity and temperature ranges.
Post 19 Oct 2010, 07:02
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
Proper floppy disk care. Twisted Evil
Post 19 Oct 2010, 07:18
View user's profile Send private message Visit poster's website Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 695
Location: Adelaide
sinsi
I have that book, not the floppy though. The code is in the book, you just have to type it out Razz
Just watch out for the mistakes, and it's for masm (ml6).

rev, my 5.25" masm 6 disks still work, from 1990-ish.
I still have a drive in the drawer for emergencies.
some of us used them for backup in the day...
Post 19 Oct 2010, 07:44
View user's profile Send private message Reply with quote
lemask



Joined: 04 Oct 2010
Posts: 19
lemask
Post 19 Oct 2010, 07:51
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
Oh no. You know what that means. That means that I must be the only person in the world that doesn't know how to keep floppy disks working for more than 3 years. Sad

All my backups would to go "sour" and I had to keep replacing them with new sets. Even my tape drive backups would lose data and become unreadable in just a few years.

Anyhow, I am glad to get rid of the things after all the trouble they caused.
Post 19 Oct 2010, 07:55
View user's profile Send private message Visit poster's website Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 695
Location: Adelaide
sinsi
After a while you 'backup' the drive along with the floppies since drives and disks seem to only work together once the drive has written to the disk.
Mated for life.
Post 19 Oct 2010, 08:31
View user's profile Send private message Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias
Tomasz Grysztar wrote:
Well, recently I found 13-year old book with a 5.25 floppy that was never used
Ok, I acknowledge that I am not going to win this contest. Shoorick, or someone else is going to produce an 8" floppy disk that still reads correctly, thirty five years later.

Nevertheless, here is my submission for the oldest working condition floppy disk on the subject of Intel x86 Assembly Language Programming.
Abacus software 1990, "Assembly Language"

Here's a few lines from the file: AO3_A86.asm

doscall macro ; the definition and parameters have
mov ah,#1 ; been changed to work with A86
int 21h ; see A12.DOC for details.
#em

pout macro ; the definition and parameters have
mov al,#2 ; been changed to work with A86.
out #1,al
#em

code segment
org 100h
assume cs:code,ds:code

start: jmp begin ; bypass variable storage

Smile
Post 19 Oct 2010, 18:26
View user's profile Send private message Reply with quote
luke77



Joined: 14 May 2010
Posts: 18
luke77


Thanks, I am going to make the pen holder with mine.
Post 19 Oct 2010, 18:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.