Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 103 users online: 2 members, 68 guests and 33 bots. Members: flintymcqwerty, iconmaster. Bots: VoilaBot (1), Spinn3r (1), MSN/Bing (1), Magpie Crawler (5), VoilaBot (2), Googlebot (21), MSN/Bing (2).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 30 Jul 2010 01:09:44 pm Post subject: BinPac8x Updated to v1.3 |
|
|
Since the release of BinPac8x, many people have reported that they have found it quite useful on Linux and on Windows 7. However, a very few people reported some problems, which I eventually traced to Python 2.x, which has much poorer handling of arrays of bytes (the bytes() and bytearray() objects) than 3.x such as 3.1.2. Therefore, over the past two days I fixed up all the issues with Python 2.x, moving back and forth between 2.x and 3.x until BinPac8x generates a correct and valid calculator file on both Python 2.x and 3.x platforms. In addition, I added a feature to allow BinPac8x to be used as a module in larger Python programs, and an optional switch to rename the on-calc file to something other than the default (derived from the source name). Please try it out, let me know of any bugs, and enjoy. In addition, BinPac8x v1.3 will be included in the up-and-coming Doors CS 7 SDK. To finish off, the official description:
"BinPac8x v1.3 is a Python-language program that is intended to solve the problem of assembling and linking z80 programs for TI-82, TI-83+, TI-83+ Silver, TI-84+, TI-84+ Silver, TI-85, and TI-86 calculators on Windows 7 and on Linux. Previous programs such as DevPac8x were written for a 16-bit environment, and do not run on the DOS emulation of recent operating systems. BinPac8x is a cross-platform solution for Linux or Windows, requiring only Python to function properly. It takes a .bin file generated by an assembler, and turns it into a .8xp file. v1.2 adds ability to generate .82p, .83p, .85s, .86p, and .86s in addition to the existing .8xp format, while v1.3 adds Python 2.x support and optional modification of the program's on-calculator name."
Download
BinPac8x v1.3 _________________
 |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4177
|
Posted: 30 Jul 2010 01:10:46 pm Post subject: |
|
|
Awsome Kerm, looks epic, also glad that I helped make this happen  _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 30 Jul 2010 01:12:00 pm Post subject: |
|
|
| qazz42 wrote: | Awsome Kerm, looks epic, also glad that I helped make this happen  | Yes qazz, you were a great help with it! Your testing was invaluable in helping me solve all the Python 2.x issues. _________________
 |
|
| Back to top |
|
|
TC01
Member

Joined: 28 Jul 2010 Posts: 166
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 30 Jul 2010 04:06:37 pm Post subject: |
|
|
| TC01 wrote: | I'm glad I was able to help too.
Now I should be able to use this as part of my project without any modifications (short of making it produce unprotected programs, that is). | Indeed, you were very much so! For the unprotected programs, you of course already know that you just need to change that 6 to a 5.  _________________
 |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4177
|
Posted: 06 Aug 2010 11:39:31 am Post subject: |
|
|
Well, it seems that ever so often my properly compiled asm program will be rendered as a Basic program on-calc x.x
It might be either brass or binpac that causes the problem _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 06 Aug 2010 11:43:57 am Post subject: |
|
|
| qazz42 wrote: | Well, it seems that ever so often my properly compiled asm program will be rendered as a Basic program on-calc x.x
It might be either brass or binpac that causes the problem | Did you notice if there were any error messages from BinPac? Please check for that; if there are none, then Brass is at fault (probably). _________________
 |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4177
|
Posted: 06 Aug 2010 11:44:54 am Post subject: |
|
|
Nope no errors anywhere
wow first time I am disappointed to find no error  _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 06 Aug 2010 12:01:12 pm Post subject: |
|
|
| qazz42 wrote: | Nope no errors anywhere
wow first time I am disappointed to find no error  | Haha. There seems to be an error with some programs and Python 3.1.2, but luckily I succeeded in tracking it down, so I'll just need to make sure that I test the fix on 2.x before I release the next build of the SDK. _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 06 Feb 2011 03:20:29 pm Post subject: |
|
|
| souvik1997 wrote: | | Shouldn't that be **TI83**? |
That is the line the compiler points to, I changed nothing, so I don't know. :/ _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 06 Feb 2011 03:23:49 pm Post subject: |
|
|
2) "The most recent one" doesn't help me, because there's a most-recent Python 2.x and a most-recent Python 3.x, developed sort-of simultaneously.
Can you post the full error log from between when you type/run "compile blah" through BinPac8x terminating? _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 06 Feb 2011 03:25:29 pm Post subject: |
|
|
| KermMartian wrote: | | 2) "The most recent one" doesn't help me, because there's a most-recent Python 2.x and a most-recent Python 3.x, developed sort-of simultaneously. |
I know for a fact I have one that runs it, I can check, but I think it is the 3.x.
| Quote: | | Can you post the full error log from between when you type/run "compile blah" through BinPac8x terminating? |
Here it is.
| Quote: | ----------------------------------
Doors CS Assembler\Compiler
Version 2.0
Written by Kerm Martian
http:\\www.Cemetech.net
----------------------------------
----- Assembling hello.htm for the TI-83/84 Plus...
Brass Z80 Assembler 1.0.4.11 - Ben Ryves 2005-2006
--------------------------------------------------
Assembling...
Pass 1 complete. (132ms).
Pass 2 complete. (2ms).
Writing output file...
Errors: 0, Warnings: 0.
Writing list file...
Done!
File "C:\Users\Chris\Desktop\dcs_sdk\asm\tasm\binpac8x.py", line 51
fho.write(bytearray(b'**TI82**')) #byte 00, length
08
^
SyntaxError: invalid syntax
----- hello.htm for the TI-83/84 Plus Assembled and Compiled.
TI-83 Plus version is hello.htm.8xp
Press any key to continue . . . |
_________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail
Last edited by Sonlen on 06 Feb 2011 03:29:53 pm; edited 1 time in total |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 06 Feb 2011 03:27:42 pm Post subject: |
|
|
You can copy-and-paste from a command window. Right-click, Mark, drag to highlight the area, and then right-click to copy.
Edit: It's pointing to "08", not the other line. Did you hit enter in the middle of a line when you were looking at the source? It looks like there's a line return before the 08 for no reason, _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 06 Feb 2011 03:33:02 pm Post subject: |
|
|
| KermMartian wrote: | You can copy-and-paste from a command window. Right-click, Mark, drag to highlight the area, and then right-click to copy.
Edit: It's pointing to "08", not the other line. Did you hit enter in the middle of a line when you were looking at the source? It looks like there's a line return before the 08 for no reason, |
No, I didn't look at the script until after I got this error the first time, and I also never edited the script either. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
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 vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.047002 seconds.
|