X-Mass Application

Started by Ast, 16:18, 04 March 16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ast

How can I execute a Basic program in an Asm Code ? Which call ? which rom ? etc...
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Fessor

Quote from: Ast on 19:09, 08 March 16
How can I execute a Basic program in an Asm Code ? Which call ? which rom ? etc...

Unofficial Amstrad WWW Resource
At the very top of the Page "Running BASIC programs from assembly"...

Audronic

Quote from: Ast on 15:58, 08 March 16
A most beautifull video showing you it's working now !
Hi Ast

Good work.
Please list the roms that you use and their positions.
Thanks
Keep up the GOOD work
Ray
Procrastinators Unite,
If it Ain't Broke PLEASE Don't Fix it.
I keep telling you I am Not Pedantic.
As I Live " Down Under " I Take my Gravity Tablets and Wear my Magnetic Boots to Keep me from Falling off.

Ast

The most simple was to take a photo from "the editor" of X-Mem's Roms.
The iMPdos is working fine... I'm going on doing my best to make you a good X-Mass manager!
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Kris


Ast

This video shows you some news commands as :

ùcd,".
&
ùrun,"myfile

_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

robcfg

Just one minor detail.


The command CD . should stay in the current directory, while CD.. should jump to the parent directory.


Other than that, it's looking nice!

Ast

You're right robcfg but it's always wip.... Don't burn the step ! ^^
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Ast

Does anyone else have this king of error ?

_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Audronic

Quote from: Ast on 15:07, 09 March 16
The most simple was to take a photo from "the editor" of X-Mem's Roms.
The iMPdos is working fine... I'm going on doing my best to make you a good X-Mass manager!


Thanks for Rom.Jpg.
Ray
Procrastinators Unite,
If it Ain't Broke PLEASE Don't Fix it.
I keep telling you I am Not Pedantic.
As I Live " Down Under " I Take my Gravity Tablets and Wear my Magnetic Boots to Keep me from Falling off.

Munchausen

@Ast is the accented u character (ù) available easily on UK machines? Because it isn't a standard one, maybe you could use something more accessible for those of us without French keyboards?

Is this a ROM?

Anyway, looking awesome :)

00WReX

Quote from: Munchausen on 01:04, 10 March 16
@Ast is the accented u character (ù) available easily on UK machines? Because it isn't a standard one, maybe you could use something more accessible for those of us without French keyboards?

Is this a ROM?

Anyway, looking awesome :)

Nothing needs to be changed, it's just the way the AZERTY ROM is mapped.
So on your English ROM you will simply use the traditional '|" in front.

? chr$(124) on an AZERTY will display
ù

? chr$(124) on an English QWERTY will display
|

How to type the bar symbol on a French 6128+


Cheers,
Shane
The CPC in Australia...
Awa - CPCWiki

Munchausen

Quote from: 00WReX on 02:21, 10 March 16
Nothing needs to be changed, it's just the way the AZERTY ROM is mapped.
So on your English ROM you will simply use the traditional '|" in front.

? chr$(124) on an AZERTY will display
ù

? chr$(124) on an English QWERTY will display
|

How to type the bar symbol on a French 6128+


Cheers,
Shane

Aha ok :)

This is awesome

TotO

The fact is the pipe symbol is exactly at the same place on all CPC keyboard and work for all CPC.  :-\
But, lazy french users use the ù key instead (w/o SHIFT), because the linked caracter is the same on the ASCII table for them.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

khaz

Quote from: TotO on 15:09, 10 March 16But, lazy french users use the ù key instead (w/o SHIFT), because the linked caracter is the same on the ASCII table for them.

And it's soo convenient, I love it. Especially so as we'll be using it routinely when using the X-Mass, going through folders, managing files.

Also it makes for a fun way to pronounce CPC commands: ücépéhèm! how do you even say |CPM anyway? pipeCPM?

TotO

Quote from: khaz on 16:18, 10 March 16And it's soo convenient, I love it. Especially so as we'll be using it routinely when using the X-Mass, going through folders, managing files.
On both keyboards, I have always used the pipe key because it is at the same place. Buy the way, I prefert to use the QWERTY keyboard.

Quote from: khaz on 16:18, 10 March 16Also it makes for a fun way to pronounce CPC commands: ücépéhèm! how do you even say |CPM anyway? pipeCPM?
barcépéhèm!  :-\
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

CraigsBar



Quote from: khaz on 16:18, 10 March 16
how do you even say |CPM anyway? pipeCPM?

Bar Sea Pea Emm.  Sounds like a dodgy pub.
IRC:  #Retro4All on Freenode

TotO

CraigsBarSeaPeaEmm?  ???
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Ast

@Prodatron : do you write some byte(s) anywhere in the ide support to know what will be the next cluster to write ?


I explain :
First your ide is formatted.
So all sectors are cleaned.
You save a file. Do you save anywhere the cluster number ?


It's important to know because if you do that with each file you could follow easily where you are. It will be much easy to find where to write for the next folder or file.
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Audronic

I was just having a think about X-Mass as it is nearly Easter.

X-Mass Preparation

What Programs/RSX's do the Headings Below use :-

1) Format the DOM (FAT 16). (IMPFOR - Others) ??

2) Create some directories. ??

3) Copy Files to Root or Directories of DOM. ??

4) Copy Files from DOM to Floppy.  ??

5) Erase Files on DOM.  ??

6) Files 8.3 (TESTING1.TXT) or Other.
-===================================-

What ROMs do we require.

Do we work within a Shell (FuturOS, etc) or accessible from Basic.
Will the file system be Compatible with "" ACMEDOS "" (GodotDOS) ;) :( .
Or do you Make some Other

Above are just some thoughts.

Ray
Procrastinators Unite,
If it Ain't Broke PLEASE Don't Fix it.
I keep telling you I am Not Pedantic.
As I Live " Down Under " I Take my Gravity Tablets and Wear my Magnetic Boots to Keep me from Falling off.

Ast

Quote from: Ast on 00:26, 11 March 16
@Prodatron : do you write some byte(s) anywhere in the ide support to know what will be the next cluster to write ?


I explain :
First your ide is formatted.
So all sectors are cleaned.
You save a file. Do you save anywhere the cluster number ?


It's important to know because if you do that with each file you could follow easily where you are. It will be much easy to find where to write for the next folder or file.
Reposted if Prodatron missed this one... No answers ?
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Prodatron

Hi @Ast,

sorry, I wasn't around for about 1 week. I am very impressed by your progress, it's really so cool!!

The first free cluster number is saved inside the FSINFO sector when using the FAT32 format. FAT12 and FAT16 don't support this, it's a FAT32 feature only. SymbOS supports this feature, so the FSINFO sector is always up-to-date.

Is this what you need to know??

Keep on the great work!
CU,
Prodatron

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Ast

So how do you do to make/emulate this feature on SymBOs with fat 16 ?
I only want to know to make iMPdos compatible with SymBos. Without that it Will be difficult to make our project compatibles.
My idea and what i do in iMPdos was i created-emulated this function in sector #ff.
the first two bytes  countain the Current/last cluster and the four last bytes, the size of the last file/directory written.
What do you think about it ? Do you think you could use the same ´trick' in SymbOS to be compatible with iMPdos ?
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Ast

Already Wip but :

_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Prodatron

Really cool video!

Quote from: Ast on 08:06, 15 March 16So how do you do to make/emulate this feature on SymBOs with fat 16 ?
With FAT12/FAT16 you always start searching for a free cluster at the beginning of the FAT table. Problem with such special sectors (like #ff in your case) is, that it wouldn't meet the FAT standard anymore.
Let's say iMPdos is later used with a normal SYMBiFACE II as well. Here you may have completely different data storages connected (like small CF cards, harddiscs with different sizes etc.). You may want to read/write them at a PC as well. Having a static special sector like #FF for storing non-FAT-standard information could cause problems with the filesystem integrity then, and you don't know if sector #FF is already used for storing the FAT/files/directories on other storages, so maybe you even destroy something.
If you want to speed-up the cluster search, I would recommend to store the number of the first free cluster in ram. So when doing a search for the first time after you switched on the computer you have to walk through the whole FAT once, but after this you can use the cluster number stored in memory.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Powered by SMFPacks Menu Editor Mod