Jump to content
IGNORED

Flashing Cursor (Jon Williams) Monitor issue 2


Recommended Posts

Hi all,

I'm triyng to type up some old listings - this one is some ASM from Monitor issue 2, p27 (http://www.atarimania.com/mags/pdf/UKACOC_Newsletter_No_02.pdf) - a flashing cursor sort of utility by Jon Williams. I think I've transcribed and compiled it correctly, but I'm getting a lock-up hitting an illegal instruction at $FCBD when I call USR(1536). I guess this is after the JSR $FCB3 on line 1210. I'm wondering if the JSRs are specific for a particular version of the OS, and/or BASIC, but that sort of thing is a bit outside of my Atari knowlege.

Attached is my listing, the XEX I compiled with MADS (via Eclipse/WUDSN with a couple of edits - *= to ORG, and spaces after .WORD at the end), and a bit of basic to get ready for the USR(1536) call.

 

Any ideas appreciated - it's good to be able to test I've got these type-ins right.

Thanks,
Wes

 

 

FCURSOR.LST fcursor.bas FCursor.xex

Link to comment
Share on other sites

Those JSR $Fxxx addresses are in ROM and are not guaranteed to work with different versions of the OS.

It is a bad practice to use these for the very reason it's not working for you.

 

If you try this in Altirra, you can swap machine types and maybe find out which one it was written for.

 

Have a look at this :)

 

 

Edited by TGB1718
Link to comment
Share on other sites

Thanks - I thought that might be the case. To be fair, this is 1982 code, pre-XL era, so the landscape of OS versions was different I guess when this was written.


My purpose here is to archive what was written, rather than using it or making it compatible code, so it'll be about confirming for myself I've typed it and compiled it correctly, and adding some notes on how it could be used...

Edited by wesmond
clarification
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...