Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Geolocation
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
293 Subscribers
Family's web sites

Webmaster - Infos
Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
Visits

   visitors

   visitors online

Friends News
Pagerank

Google Ads
Post an answer

Thanks for taking the time to write this message.

Your user name :

Your e-mail :

Hide your e-mail address to visitors:      
Note: the e-mail address is protected against SPAM.

Subscribe to this thread :      

You are answering to Sebastien who wrote:


Hello,

Sorry for the delay. I had to travel for my work.
Programming the PC-E500/S is (to my humble opinion) easier than programming the old Sharp PCs. Here are several justifications:
- The SC 62015 has a better set of instructions (see info.curtin.edu.au:8080/~iwoodsa/pce500/);
- You don't have to worry about memory banks (they don't even exist!);
- Software is organized into "layers": Depending on the complexity of your application you may choose between level 0 (pure machine language), level 1 (I/O Control System) and level 2 (File Control System);
- You may add your own "device drivers" in a *portable* way, either to shadow existing ones (for instance, changing the graphical device driver) or to extend E500's capabilities (by adding a clock, a 16MB smartmedia interface...).

Now let's try to write a SEARCH program:

1) "Hacker's version": The address of the beginning of the BASIC area (I suppose you meant the "Sx:TEXT.BAS" block, a block where BASIC stores the current edited program) is given by the pointer stored at &CB, &CC and &CD (internal memory, however PEEK can access it). Then what you have to do is just reading the length information stored into the block header (sorry, I don't remember the exact location of the information!) and scan the BASIC program...

2) "Regular programmer's version": Open the file using FCS (File Control System), then access its contents using calls to the appropriate functions. The big advantage of this appoach is that your program will also work with files stored on virtual disks, tapes, etc. without any modification (provided the name of the file and the pattern are given as arguments!). And the resulting program is as fast as the first version (because most of the time is spent into the searching algorithm).

3) "BASIC programmer's version": It is perfectly possible to use BASIC for such a purpose.
10 INPUT "FILE NAME:", FILE$
20 OPEN FILE$ FOR INPUT AS #1
30 ...
...
1000 CLOSE #1
1010 END

There is no difference between a SAVEd BASIC program and its edited version, so you don't have to MERGE it with your scanning program...

Conclusion:
Unfortunately, if you don't have any document explaining how to use FCS and IOCS
it will be quite impossible to develop useful tools for your E500...

Regards,

Sebastien.


Help :

Code Syntax :

  • <color=CodeHexadecimal></color> enables text colouring.
    Note : Instead of the hexadecimal code (#??????), you can specify the name of the colour(red, yellow, orange, green, blue, etc...). For extra info...
  • <bgcolor=CodeHexadecimal></bgcolor> enables the colored highlighting of a text.
    Note : Instead of the hexadecimal code (#??????), you can specify the name of the colour(red, yellow, orange, green, blue, etc...). For extra info...
  • <b></b> enables the emboldening of a text.
  • <i></i> enables the italicising of a text.
  • <u></u> enables the underlining of a text.
  • <cite></cite> enables quotation inserting.
    Note : You can specify the name of the authors by typing <cite=Author>
  • <code></code> enables code inserting.
    Note : You can specify the language by typing <code=LanguageName>
  • <left></left> enables left align.
  • <center></center> enables center align.
  • <right></right> enables right align.
  • <link></link> enables link inserting.
    Note : You can specify the link URL by typing <link=URL>text</link>. If you do not specify the link URL, the URL will be the one between the two tags.<link>URL</link>
  • <img=SmileyName> enables smiley insertion.
    Note : The names of available basic smileys are : cool, wink, biggrin, smile, frown, eek, mad, confused, rolleyes, tongue, cry. For extra info...

Access keys (under Windows) :

  • Key SHIFT + arrow (right or left) enables text selection
  • Key ALT + 2 enables toolbar selection
  • Key ALT + 3 enables editing zone selection
  • Key ALT + 4 displays Help
  • Key ALT + 5 hides Help
  • Key TAB enables going from one selection to the next
  • Key SHIFT + TAB enables going from one selection to the previous
  • Key ALT + arrow (towards bottom or top) enables folding out of the selected menu
  • Key ALT + arrow (towards bottom or top) enables the folding up of a spread out menu
  • Key arrow (towards bottom or top) enables the browsing through a spread out menu
  • Key ALT + s enables form sending

   |     |  Bold  Italic  Underline  Insert a quotation    Align Left  Center justify  Align Right  Insert a link  Insert Smiley (popup)  Preview (popup)  Display Help   
smiley cool  smiley wink  smiley biggrin  smiley smile  smiley frown  smiley eek  smiley mad  smiley confused  smiley rolleyes  smiley tongue  smiley cry 
Captcha reload
Copy the text:


 
 
^ Top ^