EV:N 1.0.6 NCB usage list

I was prompted to do this by something Vaumnou said in (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/postdisplay.cgi?forum=Forum9&topic;=004193&whichpost;=vaumnou06-22-200310:53PM")this thread(/url). By using w00tWare’s ConText, Apple’s AppleScript, and the scriptable shareware (url="http://"http://www.tex-edit.com/")Tex-Edit Plus(/url), I generated the following lists from Nova’s resources. The first list shows the 550 Nova Control Bits (NCBs for any noobs) used by the current Nova scenario. The second list shows the 9450 NCBs available for plug development. The number in parentheses shows the count of NCBs within each sub-group.

b0	thru	b90	used	(91)
b96 	 used	(1)
b123	thru	b149	used	(27)
b152	thru	b170	used	(19)
b175 	 used	(1)
b178	thru	b237	used	(60)
b275	thru	b327	used	(53)
b330	thru	b335	used	(6)
b340	thru	b341	used	(2)
b347	thru	b377	used	(31)
b415 	 used	(1)
b417 	 used	(1)
b422	thru	b446	used	(25)
b500 	 used	(1)
b502	thru	b503	used	(2)
b509	thru	b513	used	(5)
b515	thru	b519	used	(5)
b600	thru	b613	used	(14)
b650	thru	b653	used	(4)
b666	thru	b667	used	(2)
b677 	 used	(1)
b681 	 used	(1)
b749	thru	b753	used	(5)
b800	thru	b819	used	(20)
b838 	 used	(1)
b850	thru	b852	used	(3)
b995 	 used	(1)
b1000 	 used	(1)
b1100 	 used	(1)
b1300	thru	b1309	used	(10)
b1500	thru	b1502	used	(3)
b3000	thru	b3007	used	(8)
b3009 	 used	(1)
b3015 	 used	(1)
b3025 	 used	(1)
b3050 	 used	(1)
b3721 	 used	(1)
b3789 	 used	(1)
b4000 	 used	(1)
b4322 	 used	(1)
b4444 	 used	(1)
b5757	thru	b5765	used	(9)
b5770 	 used	(1)
b5999	thru	b6034	used	(36)
b6100	thru	b6106	used	(7)
b6137 	 used	(1)
b6200	thru	b6206	used	(7)
b6300	thru	b6302	used	(3)
b6666 	 used	(1)
b6723	thru	b6724	used	(2)
b7777	thru	b7788	used	(12)
b7878	thru	b7880	used	(3)
b8338	thru	b8339	used	(2)
b8444 	 used	(1)
b8888	thru	b8911	used	(24)
b9011	thru	b9015	used	(5)
b9111 	 used	(1)
b9200	thru	b9208	used	(9)
b9215	thru	b9216	used	(2)
b9333	thru	b9334	used	(2)
b9500	thru	b9501	used	(2)
b9666 	 used	(1)
b9812 	 used	(1)
b9995 	 used	(1)
b9998	thru	b9999	used	(2)






b91	thru	b95	free	(5)
b97	thru	b122	free	(26)
b150	thru	b151	free	(2)
b171	thru	b174	free	(4)
b176	thru	b177	free	(2)
b238	thru	b274	free	(37)
b328	thru	b329	free	(2)
b336	thru	b339	free	(4)
b342	thru	b346	free	(5)
b378	thru	b414	free	(37)
b416 	 free	(1)
b418	thru	b421	free	(4)
b447	thru	b499	free	(53)
b501 	 free	(1)
b504	thru	b508	free	(5)
b514 	 free	(1)
b520	thru	b599	free	(80)
b614	thru	b649	free	(36)
b654	thru	b665	free	(12)
b668	thru	b676	free	(9)
b678	thru	b680	free	(3)
b682	thru	b748	free	(67)
b754	thru	b799	free	(46)
b820	thru	b837	free	(18)
b839	thru	b849	free	(11)
b853	thru	b994	free	(142)
b996	thru	b999	free	(4)
b1001	thru	b1099	free	(99)
b1101	thru	b1299	free	(199)
b1310	thru	b1499	free	(190)
b1503	thru	b2999	free	(1497)
b3008 	 free	(1)
b3010	thru	b3014	free	(5)
b3016	thru	b3024	free	(9)
b3026	thru	b3049	free	(24)
b3051	thru	b3720	free	(670)
b3722	thru	b3788	free	(67)
b3790	thru	b3999	free	(210)
b4001	thru	b4321	free	(321)
b4323	thru	b4443	free	(121)
b4445	thru	b5756	free	(1312)
b5766	thru	b5769	free	(4)
b5771	thru	b5998	free	(228)
b6035	thru	b6099	free	(65)
b6107	thru	b6136	free	(30)
b6138	thru	b6199	free	(62)
b6207	thru	b6299	free	(93)
b6303	thru	b6665	free	(363)
b6667	thru	b6722	free	(56)
b6725	thru	b7776	free	(1052)
b7789	thru	b7877	free	(89)
b7881	thru	b8337	free	(457)
b8340	thru	b8443	free	(104)
b8445	thru	b8887	free	(443)
b8912	thru	b9010	free	(99)
b9016	thru	b9110	free	(95)
b9112	thru	b9199	free	(88)
b9209	thru	b9214	free	(6)
b9217	thru	b9332	free	(116)
b9335	thru	b9499	free	(165)
b9502	thru	b9665	free	(164)
b9667	thru	b9811	free	(145)
b9813	thru	b9994	free	(182)
b9996	thru	b9997	free	(2)

------------------
"There are no bugs in my code, ... only undocumented features." - corollary #3
Please use the (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro&default;=9")SEARCH(/url) feature before posting a new question. For EV:Nova development questions, please read the (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=guides&display;=name&file;=bible_and_tmpls.sit.bin")EV Nova Resource Bible(/url) first.
Provided by bit-banger Arturo: a (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=utilities&display;=name&file;=ResourceInterdependence.hqx")Resource Interdependence table(/url) and the (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=plugins&display;=name&file;=ShieldBubbles1.0.hqx")Shield Bubbles 1.0 plug(/url)

Very cool. I have little use for it myself right now, but I'm sure many others around these parts will find this very valuable.

By the way, would you mind giving more details at how you generated this list? It might be helpful for TC development.

------------------
Moderator- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go&mrxak;=cool")EV Developer's Corner(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=69SUBMIT=Go&mrxak;=cool")Uplink Web Board(/url) | (url="http://"http://forums.evula.com/viewforum.php?f=18")mrxak's Assorted Webspace Forum(/url) | (url="http://"http://forums.evula.com/viewforum.php?f=48")Starcraft Forum(/url) | | (url="http://"http://directory.perfectparadox.com/profile.php?id=00008")My Profile(/url) | (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/postdisplay.cgi?forum=Forum10&topic;=007599-2&whichpost;=mrxak11-06-200203:22PM")mrxak(/url)
(url="http://"http://www.evula.org/mrxak/")mrxak's Assorted Webspace(/url) | (url="http://"http://www.evula.org/mrxak/Haikus/haikuarchive.html")The Haiku Archive(/url) | (url="http://"http://www.evula.org/mrxak/EV/N/mbspt/mbspt.html")mrxak's Big Secret Plug-in/Tutorial(/url) | (url="http://"http://www.evula.org/mrxak/EV/N/amtc/amtc.html")A mrxak TC(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/TheChallenge102.sea.bin?path=evn/plugins&file;=TheChallenge102.sea.bin")The Challenge v1.0.2(/url)
(url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro")Search First(/url) | (url="http://"http://www.macgamer.net/games/uplink/")Uplink Guide(/url) | (url="http://"http://www.evula.com/survival_guide/")EV/O/N Guide(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=31&SUBMIT;=Go")Plug-in Guide(/url) | (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/003091.html")Plug-in Testers(/url) | (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/003196.html")Developers(/url) | (url="http://"http://www.AmbrosiaSW.com/games/evn/addons.html")Nova Addons(/url) | (url="http://"http://www.resexcellence.com/support_files/resedit.shtml")ResEdit(/url) | (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url)
Please, for the love of Uplink, don't go off topic!!!

(This message has been edited by mrxak (edited 06-23-2003).)

Quote

Originally posted by mrxak:
**By the way, would you mind giving more details at how you generated this list? It might be helpful for TC development.
**

Sure. Here’s the step-by-step process I used to generate the NCB usage lists:

First, I was born ... Oh ... not that detailed huh? OK, fast-forward- - - - >

(list=1)
()Identified the relevant resources, ie.- those resources that either test or set NCBs. They are chär,crön,flët,jünk,mďsn,nëbu,öops,oütf,përs,shďp,spöb, & s˙st.
(
)Dropped each of the relevant Nova Data files on the ConText utility, which converts resources into tab delimited text files.
()Concatenated the 12 separate ConText files into one large (732KB) text file.
(
)Developed the “NCBscanner” Applescript plug (see below) for the Tex-Edit Plus (TE+) scriptable text editor (a really great shareware bargain at $15).
()Ran TE+ NCBscanner on the 732KB ConText file (that took just under an hour) and generated the list of all NCB usages.
(
)Converted the NCB usage list into a spreadsheet (Resolve in my case) and separated it into the “free” and the “used”.
(/list=a)

Applescript NCBscanner plug for TE+ (20 minutes to develop, another hour to debug because of poor error reporting by both TE+ and Applescript Editor):

tell application "Tex-Edit Plus"
	activate
	set usageType to "nil"
	set usageCount to 0
	set groupLine to "nada"
	repeat with bitNr from 0 to 9999
  select insertion point before the contents of window "EVN106ConText"
  set NCBstring to "b" & bitNr
  if (search window 1 looking for NCBstring with whole words matching and searching from cursor) then --found
 	 if usageType is "used" then
    set usageCount to usageCount + 1
 	 else --change group usage
    tell window "NCBusageList"
   	 if usageCount > 1 then
      set end to groupLine & "-b" & bitNr - 1 & tab & usageType & tab & "(" & usageCount & ")" & return
   	 else
      set end to groupLine & tab & tab & usageType & tab & "(" & usageCount & ")" & return
   	 end if
    end tell
    set usageType to "used"
    set usageCount to 1
    set groupLine to NCBstring
 	 end if
  else --not found
 	 if usageType is "free" then
    set usageCount to usageCount + 1
 	 else --change group usage
    tell window "NCBusageList"
   	 if usageCount > 1 then
      set end to groupLine & "-b" & bitNr - 1 & tab & usageType & tab & "(" & usageCount & ")" & return
   	 else
      set end to groupLine & tab & tab & usageType & tab & "(" & usageCount & ")" & return
   	 end if
    end tell
    set usageType to "free"
    set usageCount to 1
    set groupLine to NCBstring
 	 end if
  end if
	end repeat
	tell window "NCBusageList"
  if usageCount > 1 then
 	 set end to groupLine & "-b" & bitNr & tab & usageType & tab & "(" & usageCount & ")" & return
  else
 	 set end to groupLine & tab & tab & usageType & tab & "(" & usageCount & ")" & return
  end if
	end tell
end tell --TE+

------------------
"There are no bugs in my code, ... only undocumented features." - corollary #3
Please use the (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro&default;=9")SEARCH(/url) feature before posting a new question. For EV:Nova development questions, please read the (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=guides&display;=name&file;=bible_and_tmpls.sit.bin")EV Nova Resource Bible(/url) first.
Provided by bit-banger Arturo: a (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=utilities&display;=name&file;=ResourceInterdependence.hqx")Resource Interdependence table(/url) and the (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=plugins&display;=name&file;=ShieldBubbles1.0.hqx")Shield Bubbles 1.0 plug(/url)

Pipeline just released Dr. Ralph Sutherland's Mission BitMap, which do exactly the same thing (but without telling the number of free bits) in the thread linked in the first post of this topic. 🙂

------------------
(url="http://"http://www.evula.com")EVula(/url) | (url="http://"http://www.Evula.com/survival_guide")EVula's survival guide(/url) | (url="http://"http://pftn.evula.net")Pilot File Trade Network(/url) | (url="http://"http://www.ev-nova.net")EV-Nova(/url) | (url="http://"http://home.attbi.com/~slagblah/")Slagblah's home page(/url) | (url="http://"http://home.attbi.com/~slagblah/pilotlog.html")pilotlog(/url)
(url="http://"http://www.resexcellence.com/support_files/resedit.shtml")ResEdit(/url) | (url="http://"http://w00tware.ev-nova.net/")Novatool(/url) | (url="http://"http://www.ariossoftware.com/programs/evone/")EVONE(/url) | (url="http://"http://davidarthur.evula.net/")Mission Computer(/url)
(url="http://"http://home.attbi.com/~slagblah/PilotlogAnalyzer.hqx")Slagblah's pilotlog analyzer(/url) for a quick answer about your mission question
Visit my (url="http://"http://perso.wanadoo.fr/straven")home page(/url) !

Or there's (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=guides&display;=date&file;=BitsCommoditiesDscs.sit")this(/url). It's a little outdated now but it still does a decent job. I believe the author is working on a new version at this time. Course it doesn't tell you what bits are used by any plugs you have installed.

------------------
I used to jog but the ice kept falling out of my glass.
(url="http://"http://www.0three0.net/l-1551/")L 1551(/url) - The official site of RONIN and The Way and the ten thousand things

Quote

Originally posted by STraven:
**Pipeline just released Dr. Ralph Sutherland's Mission BitMap, which do exactly the same thing (but without telling the number of free bits) in the thread linked in the first post of this topic.:)
**

Yes, I highly recommend DrRalph's Mission BitMap utility for all TC developers and those developing large/complex plugs. Mission BitMap provides a great deal of information, not only regarding NCBs, but also info about all NCB operators used (Axxxx,Sxxxx,Gxxxx, etc.), as well as multiple breakouts regarding which resources test and set which NCBs. The output file is a bit daunting at first, but it gives the developer a fantastic overview of anything and everything concerning NCB usage.

Quote

Originally posted by Kame:
**Or there's this. It's a little outdated now but it still does a decent job. I believe the author is working on a new version at this time. Course it doesn't tell you what bits are used by any plugs you have installed.
**

The NCB info provided in Jeff Niles' document dates from August of last year. Since then there have been many changes within the Nova resources which renders that old data of limited value for any development work based on EV:N 1.0.6. One thing I particularly liked about that document was the compilation of dësc and PICT resource usages, which are numerous to say the least. I hope he is indeed going to provide an update.

(edit: bitten by UBB yet again, sure wish it was WYSIWYG)
------------------
"There are no bugs in my code, ... only undocumented features." - corollary #3
Please use the (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro&default;=9")SEARCH(/url) feature before posting a new question. For EV:Nova development questions, please read the (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=guides&display;=name&file;=bible_and_tmpls.sit.bin")EV Nova Resource Bible(/url) first.
Provided by bit-banger Arturo: a (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=utilities&display;=name&file;=ResourceInterdependence.hqx")Resource Interdependence table(/url) and the (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evn&category;=plugins&display;=name&file;=ShieldBubbles1.0.hqx")Shield Bubbles 1.0 plug(/url)

(This message has been edited by Arturo (edited 06-24-2003).)