Improved Web debugger interface

This commit is contained in:
Jeremiah Orians 2017-05-14 09:34:32 -04:00
parent 0520fcb23c
commit 60d4542e62
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
2 changed files with 14 additions and 3 deletions

View File

@ -14,7 +14,17 @@
## You should have received a copy of the GNU General Public License ## You should have received a copy of the GNU General Public License
## along with stage0. If not, see <http://www.gnu.org/licenses/>. ## along with stage0. If not, see <http://www.gnu.org/licenses/>.
* Unreleased * Current
** Added
** Changed
** Fixed
Made Web debugger provide more useful information
** Removed
* 0.0.5 - 2017-05-06
** Added ** Added
Added write to lisp Added write to lisp
Added Cell Compactor to Lisp garbage collector resulting with multiple performance improvements Added Cell Compactor to Lisp garbage collector resulting with multiple performance improvements

View File

@ -214,14 +214,15 @@ def get_footer():
def main(argv): def main(argv):
global Debug_Point global Debug_Point
help_string = 'Knight.py --ROM=$NAME [--DEBUG=$NUMBER] [--WINDOW=$NUMBER] [--MEMORY=$SIZE]\n'
try: try:
opts, args = getopt.getopt(argv,"R:D:W:M:",["ROM=","DEBUG=","WINDOW=", "MEMORY="]) opts, args = getopt.getopt(argv,"R:D:W:M:",["ROM=","DEBUG=","WINDOW=", "MEMORY="])
except getopt.GetoptError: except getopt.GetoptError:
print ('Knight.py ROM=$NAME DEBUG=$NUMBER WINDOW=$NUMBER\n') print (help_string)
sys.exit(2) sys.exit(2)
for opt, arg in opts: for opt, arg in opts:
if opt == '-h': if opt == '-h':
print ('Knight.py ROM=$NAME DEBUG=$NUMBER\n') print (help_string)
sys.exit() sys.exit()
elif opt in ("-R", "--ROM"): elif opt in ("-R", "--ROM"):
global ROM_Name global ROM_Name