Fwd: eXpOS bug fixes and new features

4 views
Skip to first unread message

Murali Krishnan

unread,
Aug 23, 2019, 2:20:50 PM8/23/19
to xos-dev...@googlegroups.com

Dear Fariz, Nihil,
  Could you please have a look at the updates made by Farseen.
Murali


---------- Forwarded message ---------
From: Muhammed Farseeen CK <farseen_...@nitc.ac.in>
Date: Fri, Aug 23, 2019 at 5:33 PM
Subject: eXpOS bug fixes and new features
To: Murali Krishnan <kmu...@nitc.ac.in>


Respected sir,
My name is Farseen. I am from CSE 3rd year A Batch.
I have fixed a few bugs and added a few options to xfs-interface, xsm and expl.
I would like to have your feedback on those changes.
I have submitted them as pull requests on github.
Could you please look into them?

Bug fixes:

1) Expl - Label translation program treats "num:" in MOV R0, "num:" as label.
Fixed by modifying lex rules.

2) XFS Interface - Label resolving during loading exception handler, etc produces incorrect addresses if a line has more than 33 chars.
Fixed by making the line buffer of labels phase one function larger.

Extra options:

Allowed specifying which disk.xfs file to use in xsm and xfs-interface. This allowed me to effectively organize my progress through the lab as I have done here:
It allows me to make the folder for a particular stage or a particular assignment very self contained.

The disk.xfs is specified using --disk-file parameter. If it is not used, it falls back to the previously hardcoded value we are already using. So it is backwards compatible.


I also have a few more changes that I would like to add.
One is allowing proper comments in xsm files. Currently comments on a line of its own are not handled correctly. But this would require a bit more refactoring to do this in a maintainable way. I would only be able to do this with your guidance.

Sincerely
Farseen,
A Batch, S5 CSE

Nikhil Sojan

unread,
Aug 24, 2019, 1:02:46 PM8/24/19
to xos-dev...@googlegroups.com
Sir, 
We will check it latest by Monday. 
Nikhil. 

--
You received this message because you are subscribed to the Google Groups "XOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xos-developer...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/xos-developers/CAEp%2Bu%2BwssVCR5iK7s9qJvcUXWujUnDPc9c8h8%2B0tT-oV5Wrg5w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages