![]() |
| | #31 |
| Registered User Join Date: Jun 2004
Posts: 76
| Paul |
| Paul Panks is offline | |
| | #32 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Just done a load and save function, and VERY basic (pun intended!) testing. Picture for proof (check the URL for "proof" [it's either that, or I'm spending a lot of time doing photoshopping! ]).Note that the program is absolutely not valid basic, but just something I typed in before doing save. Edit: I just loaded pitman.mbi as well - it seems to work so far as I can tell. Just paused it a bit into the listing. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. Last edited by matsp; 03-16-2009 at 07:11 PM. |
| matsp is offline | |
| | #33 |
| Guest Join Date: Aug 2001
Posts: 5,034
| Hey, that's pretty cool, matsp. Would you mind sharing what you have so far? I'd be interested to see what approach you've taken with this. Maybe some of us could pitch in on whatever else needs to be done, to make things a little easier? Just a thought. |
| Sebastiani is offline | |
| | #34 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| I'd be happy to share it, but bear in mind that I'm following the original format/functions and it's a bit messy and hacky. Once I've got something roughly working (at least a small section of the functionality of the language, such as assigning variables, goto's, gosub's and for-loops working), I'm thinking that I should do a bit of a refactoring, and use more C++ style approach, rather than "Assembler written in C", as it is now. I don't think that will happen for a few weeks yet. And I'd rather share something that I'm reasonably proud of, than a "quick hack". -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #35 |
| Guest Join Date: Aug 2001
Posts: 5,034
| Well, I figured it would be pretty hackish, given what you have to work with. But I'm game. I don't really have a lot of (practical) assembly experience, but there are other areas I could be of some use. And I don't mind working in straight C, either - it doesn't have to be very fancy, it just has to work, right? Either way, keep us posted on the progress. It looks like an interesting project. |
| Sebastiani is offline | |
| | #36 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| I may put something up tonight - I'm not doing any of this at work, you know... ;-) -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #37 |
| Guest Join Date: Aug 2001
Posts: 5,034
| No rush - I don't expect this to become your second job, either! |
| Sebastiani is offline | |
| | #38 |
| Registered User Join Date: Jun 2004
Posts: 76
| Looks nice. I think it would work well in C++. I don't know about speed-wise, if it would be faster, but hopefully those Windows API errors would be less frequent. Paul |
| Paul Panks is offline | |
| | #39 | |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Quote:
I haven't had any Windows API errors yet. ![]() -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. | |
| matsp is offline | |
| | #40 |
| Registered User Join Date: Jun 2004
Posts: 76
| Yeah, Windows API errors were frequent in the assembled version. Paul |
| Paul Panks is offline | |
| | #41 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Just thought I'd share that "run" now works too - it only supports ONE command within the code (PRINT, and only with quoted strings as argument), but it's a move in the right direction. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #42 | ||
| Registered User Join Date: Jun 2004
Posts: 76
| Quote:
Quote:
Paul | ||
| Paul Panks is offline | |
| | #43 | |
| Registered User Join Date: Jun 2004
Posts: 76
| Quote:
Paul | |
| Paul Panks is offline | |
| | #44 | |
| Registered User Join Date: Jun 2004
Posts: 76
| Quote:
Paul | |
| Paul Panks is offline | |
| | #45 | |
| Registered User Join Date: Jun 2004
Posts: 76
| Quote:
Paul | |
| Paul Panks is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting textBox1->Text into a basic string. | azjherben | C++ Programming | 5 | 06-07-2009 08:27 PM |
| [ANN] New script engine (Basic sintax) | MKTMK | C++ Programming | 1 | 11-01-2005 10:28 AM |
| what are your thoughts on visual basic? | orion- | General Discussions | 16 | 09-22-2005 04:28 AM |
| VC++ 6 & MASM (eek) | ahluka | C++ Programming | 2 | 07-16-2005 10:00 AM |