xfs-interface not loading 'INT n' instruction into disk

81 views
Skip to first unread message

Chandralekha Chitta

unread,
Sep 18, 2020, 12:01:49 PM9/18/20
to XOS Users
While loading the init code into disk( in Stage-6: Running a user program ) through xfs-interface, the 'INT n' statement is being ignored. I attached a screenshot of the xsm code and the text file obtained by copying corresponding disk block after loading the code.

Thank you.
init.png

ishan ghosh

unread,
Sep 18, 2020, 12:29:01 PM9/18/20
to XOS Users
Put an aditional newline after 'INT 10' in squares.xsm. It should work fine. This might be due to the way xfs-interface writes input to the memory block.
As a precaution always put a empty line at the end of the file.

Regards

Chandralekha Chitta

unread,
Sep 18, 2020, 12:46:56 PM9/18/20
to XOS Users
Yes, it worked. Thank you Ishan.
Reply all
Reply to author
Forward
0 new messages