C Board  

Go Back   C Board > Community Boards > Projects and Job Recruitment

Reply
 
LinkBack Thread Tools Display Modes
Old 04-28-2009, 08:55 PM   #316
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 5,034
It runs fine for me. What system are you running? I wonder if running strip.exe (a program to remove unnecessary information from the executable) had anything to do with it? I've included a the pre-stripped version here, just in case you want to try it out. Another option (though I'm not sure you're familiar with) is to build the program from the source with a C++ compiler.
Attached Files
File Type: txt minibasic_1_996_beta_exe.zip.txt (219.7 KB, 20 views)
Sebastiani is offline   Reply With Quote
Old 04-29-2009, 01:58 AM   #317
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
When you load minibasic, or when you load a basic program into minibasic?

If the latter, what program are you loading?

--
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   Reply With Quote
Old 04-29-2009, 02:07 AM   #318
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
I downloaded the zip-file onto my work-machine, and although I haven't got any basic file to load into it, it certainly works as far as getting a "Ready" prompt, and a 10 Print "Hello, World" works fine too.

--
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   Reply With Quote
Old 04-29-2009, 09:16 AM   #319
Registered User
 
Join Date: Jun 2004
Posts: 76
Quote:
Originally Posted by Sebastiani View Post
It runs fine for me. What system are you running? I wonder if running strip.exe (a program to remove unnecessary information from the executable) had anything to do with it? I've included a the pre-stripped version here, just in case you want to try it out. Another option (though I'm not sure you're familiar with) is to build the program from the source with a C++ compiler.
I'm running Windows XP SP2.

Paul
Paul Panks is offline   Reply With Quote
Old 04-29-2009, 09:18 AM   #320
Registered User
 
Join Date: Jun 2004
Posts: 76
Now it works.

Paul
Paul Panks is offline   Reply With Quote
Old 04-29-2009, 10:31 AM   #321
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 5,034
OK, good. Let us know if you find any bugs or have any problems with it.
Sebastiani is offline   Reply With Quote
Old 04-30-2009, 05:21 PM   #322
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
I've just updated the code quite dramatically. I'm not sure at this point if I've broken something - running pitman in game-mode seems to work correctly.

--
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   Reply With Quote
Old 04-30-2009, 05:30 PM   #323
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 5,034
Alright. I'm tied up in a project at the moment, but as soon as I have a chance I'll check it out.
Sebastiani is offline   Reply With Quote
Old 05-05-2009, 01:30 PM   #324
Registered User
 
Join Date: Jun 2004
Posts: 76
Looks good.

Paul
Paul Panks is offline   Reply With Quote
Old 05-06-2009, 11:27 AM   #325
Registered User
 
Join Date: Jun 2004
Posts: 76
Question

Quote:
Originally Posted by Sebastiani View Post
>> To make it "binary compatible" with the existing assembly code, I think reading documentation may not be sufficient.

Good point.
How's the port coming along?

Paul
Paul Panks is offline   Reply With Quote
Old 05-07-2009, 06:08 PM   #326
Registered User
 
Join Date: Jun 2004
Posts: 76
Arrow

Quote:
Originally Posted by Sebastiani View Post
>> ...but I think porting it to C/C++ would benefit the C/C++ community.

How exactly does a C/C++ programmer benefit?

>> It is a useful language modeled after Palo Alto Tiny BASIC from 1976.

Debatable. I once had the task of translating a legacy program written in BASIC to C. The problem was that over the years, with each modification, the program had developed more and more bugs, and ran ever slower. The program consisted of at least 10,000 - 15,000 lines of code, and the maintainers openly admitted that they had problems understanding the code themselves (which they had written!), and were not at all sure what was causing all of the errors. After reading the code for a few hours it became clear to me that a complete rewrite would be necessary. Tracing the flow of the code was nearly impossible, and global variables were strewn all over the place. A real mess. Incidentally, the C version took only a few days to complete, was orders of magnitude smaller, and ran much faster. The bottom line is that BASIC just isn't very scaleable. It may be 'useful' for certain toy projects, but falls way short of being a 'real' programming language.
True, but C++ is a good starting point.

Paul
Paul Panks is offline   Reply With Quote
Old 05-08-2009, 07:40 AM   #327
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 5,034
>> How's the port coming along?

I was actually waiting to see if you had found any bugs or missing features. If not, I suppose we can make a final release out of it, but I just wanted to make sure that everything was working properly before doing that.
Sebastiani is offline   Reply With Quote
Old 05-08-2009, 09:00 PM   #328
Registered User
 
Join Date: Jun 2004
Posts: 76
Yes, it is working fine.

Paul
Paul Panks is offline   Reply With Quote
Old 05-11-2009, 01:47 PM   #329
Registered User
 
Join Date: Jun 2004
Posts: 76
Question

Quote:
Originally Posted by Sebastiani View Post
It runs fine for me. What system are you running? I wonder if running strip.exe (a program to remove unnecessary information from the executable) had anything to do with it? I've included a the pre-stripped version here, just in case you want to try it out. Another option (though I'm not sure you're familiar with) is to build the program from the source with a C++ compiler.
Is this the latest release?

Paul
Paul Panks is offline   Reply With Quote
Old 05-11-2009, 03:56 PM   #330
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 5,034
No, there have been some changes since the last release, so I'll try to post the newest one sometime near the end of the week (assigned with a 2.0 version number).
Sebastiani is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 05:22 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22