From f54aa8e6056644c43e01e7c7aa33106cd1b203f5 Mon Sep 17 00:00:00 2001 From: ultramagnus_tcv Date: Sat, 9 Jan 2016 11:03:17 -0600 Subject: [PATCH] Added a banner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a banner because I’m “old school” … ALL THE WAY! --- Driv3rs.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Driv3rs.py b/Driv3rs.py index 2bb5a2f..94e0f5c 100644 --- a/Driv3rs.py +++ b/Driv3rs.py @@ -64,6 +64,16 @@ dev_types ={273: 'Character Device, Write-Only, Formatter', # from 1-31. mfgs = {17491: 'David Schmidt'} + +print """ +**************************************************************** +* Driv3rs.py - A tiny Python script to help catalog drivers on * +* imaged Apple /// disks. By Paul Hagstrom, Michael Sternberg * +* & Mike Whalen. Please submit pull requests to Github. * +* https://github.com/thecompu/Driv3rs * +**************************************************************** +""" + # open SOS.DRIVER file to interrogate, then read first # eight bytes and determine if file is actual SOS.DRIVER file. # will be replaced with logic to read full disk images (PRODOS) @@ -76,6 +86,7 @@ else: print "INVALID SOS.DRIVER file: {}".format(disk_img) exit() + # read two bytes immediately after "SOS DRVR" to determine jump # to first major driver. Print out what's found. Start a count of # found major drivers for upcoming loop and initalize a list to