BBC BASIC for Windows
« Bad program error »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:01pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Bad program error  (Read 696 times)
Michael
Guest
xx Bad program error
« Thread started on: Apr 28th, 2009, 5:41pm »

High, working on big project atm but unfortunatly, as i got to run it I get a bad program response and nothing runs at all.
Also, when trying to load it (either via a window or via BBC Basic load button) i get 'invalid file format' despite it being .bbc. This has never happened before, just with this one file. Also, foolish me forgot to make backups, expecting BBC Basic to be its normal amazing.
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Bad program error
« Reply #1 on: Apr 28th, 2009, 6:45pm »

Quote:
Also, when trying to load it (either via a window or via BBC Basic load button) i get 'invalid file format' despite it being .bbc.

I have a program called REPAIR.BBC which can sometimes recover useful information from a damaged .BBC file, but obviously it depends on what's left! Have you checked the length of the file to see if it's about right? I'll upload the program to the Files area of the BB4W Yahoo! group in case it's useful in your case.

As to why it happened in the first place, I've never known BB4W corrupt a program. It's possible that your BASIC program has corrupted itself by 'poking' some data into memory between PAGE and TOP. I would therefore advise checking any uses of indirection (! or ?), or the assembler, to see if that's a possibility.

Richard.
User IP Logged

Michael
Guest
xx Re: Bad program error
« Reply #2 on: Apr 29th, 2009, 5:44pm »

I don't have a yahoo account...CBA to set one up, could you send it to Michael_Bohea@msn.com.

Thanks!

Also, is this error typical of someone who has only the demo version? or would I expect something else?

Will get full when I can throw enough cash together...
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Bad program error
« Reply #3 on: Apr 29th, 2009, 10:24pm »

Quote:
could you send it to Michael_Bohea@msn.com

No, I'd rather not as it would set a precedent. When this forum was set up it was stated that the Yahoo group would be used as a repository for files.

Quote:
Also, is this error typical of someone who has only the demo version? or would I expect something else?

It shouldn't make any difference. Anyway, you said you were working on a "big project" so how is that possible if you have only the trial version?

Richard.
User IP Logged

Michael
Guest
xx Re: Bad program error
« Reply #4 on: Apr 30th, 2009, 4:24pm »

oh well.

By 'big project' i meant big for the trial version

It was an early version so I can always start again XD

Thanks for your help anywho
User IP Logged

KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: Bad program error
« Reply #5 on: Mar 31st, 2016, 6:52pm »

Hmmmm.
This sounds remarkably like the problem I have encountered. *All* my .bbc programs became "invalid file format", which means that I don't think it is BB4W that is corrupting them but some external program - perhaps a virus checker or something.
Anyway, I have written a utility that will recover the files, so if anyone else is faced with the same problem, contact me.
kkdown@nwtv.co.uk

I hope my utility will recover your files.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls