MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun 15 Oct, 2006 5:05 pm 
Offline
New Member
User avatar

Joined: Tue 28 Mar, 2006 10:50 pm
Posts: 73
Location: Wouldn't you like to know?
Here's something that's been bothering me for a while. I've decided to start a mini-project (emphasis on mini :D ) to document all the TI-83+ Rom Calls to XML format so that you can easily look them up when programming with LateNite. If you want to help, please post the rom call in the following format so I can easily copy it over:
Group: ;(so I know where to put it)
<item highlight="Function Name" colour="routine" name="Function Name" description="Description of What Function Does">
<input name="Registers: Register Inputs" />
<input name="flags: Flag Inputs" />
<input name="Other: Other Inputs" />
<output name="Registers: Register Outputs" />
<output name="Flags: Flag Outputs" />
<output name="Other: Other Outputs" />
<output name="Registers Destroyed: Registers destroyed by calling this function " />
</item>

Edit:ignore
I guess this format doesn't work... The flags don't wrap right for some reason (try it out if you know what I mean). Can some one give me a way to make it so that I can use ("<input name=" doesn't let you press 'enter' to go to next line) so that I can make it work correctly?

Edit2:
here are all the rom calls I have finished so far:
Display Rom Calls
Edit Rom Calls
Error Rom Calls
Floating Point Rom Calls
Graphing and Drawing Rom Calls
Interrupt Rom Calls
IO Rom Calls
Keyboard Rom Calls
List Rom Calls

_________________
Please "encourage" me to work more on Image any way you deem necessary


Last edited by silver calc on Sun 05 Nov, 2006 7:19 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun 15 Oct, 2006 7:34 pm 
Offline
Sir Posts-A-Lot

Joined: Mon 21 Feb, 2005 5:34 am
Posts: 252
Location: Laveen, Arizona
Good idea, but what would be better (and less painful) though, is if that XML file could be automatically generated from WikiTI's database of B_CALLs. That way, the information is centralized/standardized, but the output format can vary, much like LaTeX can be transformed to DVI to PDF/SGML/TXT/etc.

Of course, only the WikiTI admins have access to the database, so either they'd have to write the script (note: highly unlikely ;)), or they could create a dump of the data so someone else in the community could. :)

_________________
"If SOURCE is outlawed, only outlaws will have SOURCE."


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Oct, 2006 6:17 am 
Offline
Calc Master

Joined: Mon 20 Dec, 2004 10:01 pm
Posts: 1110
Location: In the state of Roo Fearing
Or, you could fetch all the relevant pages. Special:Export will give you a markup-less version, wrapped in some XML. Parse that for the data you need, since we try to keep all the pages following a set format.

_________________
ImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Oct, 2006 4:57 pm 
Offline
New Member
User avatar

Joined: Tue 28 Mar, 2006 10:50 pm
Posts: 73
Location: Wouldn't you like to know?
I've got all the rom calls (or all the ones TI wants you to know about :D), now just need to find a format that works and is easy to convert with a program to XML format.

_________________
Please "encourage" me to work more on Image any way you deem necessary


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Oct, 2006 5:39 pm 
Offline
Calc Wizard
User avatar

Joined: Tue 05 Jul, 2005 11:28 pm
Posts: 549
You mean you have 83proutines.pdf? ;) I could write a script to troll through WikiTI's special:export pages if there's enough of a demand...

_________________
Image Image Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 16 Oct, 2006 10:40 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 7:26 pm
Posts: 2735
Location: The Hague, Netherlands
kerm_martian wrote:
You mean you have 83proutines.pdf? ;) I could write a script to troll through WikiTI's special:export pages if there's enough of a demand...
No, more like an xml-help-file for LateNite... that's why it's in this forum, you know?


XSLT's should be able to "convert" the wiki-xml to latenite-xml rather easily afaik

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue 31 Oct, 2006 1:15 am 
Offline
New Member
User avatar

Joined: Tue 28 Mar, 2006 10:50 pm
Posts: 73
Location: Wouldn't you like to know?
Here's the first part. I can't seem to figure out why it screws up when you click on 'see also: ...', though. It displays some weird text instead of what it should be. If some one can help me fix this, that would be great. Also please check for errors, as I did write a program to create this file, so there must be more errors (besides bad formating). Another thing is that I need a better way to organize the groups (instead of having all the functions grouped into ~18 different groups).

So, without further delay...

tada! (right click and select 'save target as')

Edit: Here are some more that I have finished.

Error Rom Calls
Edit Rom Calls
Floating Point Rom Calls

_________________
Please "encourage" me to work more on Image any way you deem necessary


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt