Welcome, Guest. Please login or register.


Author Topic: IS-DOS crash bug. (Read 25320 times)

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: IS-DOS crash bug.
« Reply #45 on: 2021.January.11. 21:41:54 »
Aha! At last you have found some utility to the extra FlashRom(512KB) space on the cartridge.

Offline elmer

  • EP fan
  • *
  • Posts: 196
  • Country: us
Re: IS-DOS crash bug.
« Reply #46 on: 2021.January.12. 17:49:14 »
It is have a 3x16K at the segment 04-06h.
07h are special segment: it is a ROM and RAM and memory paged I/O. ROM are 8x8K pageable. In the current version with EXDOS 1.4 only the first 8K page used, but the new EXDOS 3 will use more pages, for store ISDOS and others.

Excellent, that is a very nice piece of hardware that SzörG created! :cool:

Offline elmer

  • EP fan
  • *
  • Posts: 196
  • Country: us
Re: IS-DOS crash bug.
« Reply #47 on: 2021.January.12. 18:33:45 »
Here is the latest IS-DOS source, buildable with either Z80ASM or M80, both using the L80 linker.

Bruce's EXDOS3 changes are included, but currently disabled so that this corresponds exactly to version 1.0 of IS-DOS.SYS


For anyone that wants to track the differences, here is what I needed to change from the original files that Zozo posted ...

"FCB1" and "FCB2" were defined in both START.MAC and the private EXDOS CLIDATA.MAC.  I have renamed the IS-DOS ones, used in START.MAC/CLI.MAC/CMD.MAC.

"ORM" was defined in both CLIV.MAC and the private EXDOS CLIVAR.INC.  I have renamed the IS-DOS ones, used in CLIV.MAC/CMD.MAC.

All uses of the M80-specific "CODE" macro, which were used to either define self-modifying code addresses, or define single-byte opcodes used to skip over the next instruction (to avoid branch instructions), have  been removed and replaced with code and comments that work on both assemblers.

Most of the uses of "IF1" and "IF2" have been changed, since Z80ASM only needs a single pass to build the source.  There are a couple of files left that still use these, but they aren't critical to building a functioning IS-DOS.SYS.


I have included the Z80ASM.COM and SLRLNK1.COM in the archive, both configured (using their CONFIG programs) to default to ".MAC" source files and ".SLR" script files (which avoid the need to rename files to get around CP/M's 128-character line length limit).


There are also 32-bit and 64-bit Windows builds of the modified XCPM that works with Z80ASM, together with a patch file for the changes from the current version of lgb's "ReCPM" project on github.


Enjoy! ;-)

Online Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14723
  • Country: hu
    • http://enterprise.iko.hu/
Re: IS-DOS crash bug.
« Reply #48 on: 2021.January.13. 10:46:10 »
Nice work! :smt038

Next to do :oops:
Add a Hungarian and Spanish localized versions as a option to the sources.
Originaly these are made by binary editor.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: IS-DOS crash bug.
« Reply #49 on: 2021.January.13. 11:08:46 »
May be we could edit more intelligible texts with more space available.

Offline Trefe

  • User
  • *
  • Posts: 65
  • Country: hu
Re: IS-DOS crash bug.
« Reply #50 on: 2021.January.14. 11:54:51 »
I only miss directory management from ISDOS. Do you have such a plan? Yes I know ... CPM! But MSX-DOS knows ... Sorry for the bad English ...

Online Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14723
  • Country: hu
    • http://enterprise.iko.hu/
Re: IS-DOS crash bug.
« Reply #51 on: 2021.January.14. 12:10:31 »
I only miss directory management from ISDOS.
What do you mean exactly? You can use directories under IS-DOS

Pontosan mire gondolsz? Lehet könyvtárakat használni IS-DOS alatt.
« Last Edit: 2021.January.14. 13:49:23 by szipucsu »

Offline Trefe

  • User
  • *
  • Posts: 65
  • Country: hu
Re: IS-DOS crash bug.
« Reply #52 on: 2021.January.14. 12:15:37 »
Használni lehet, de emlékeim szerint nincsenek könyvtár kezelő ISDOS funkció hívások.
De most, hogy ezt mondod elbizonytalanodtam. Megnézem. :oops:

Online Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14723
  • Country: hu
    • http://enterprise.iko.hu/
Re: IS-DOS crash bug.
« Reply #53 on: 2021.January.14. 12:25:54 »
I understood now: you talk about IS-DOS function calls (CALL 5)

Értem már, az IS-DOS funkcióhívásokra (CALL 5) gondolsz.

Offline elmer

  • EP fan
  • *
  • Posts: 196
  • Country: us
Re: IS-DOS crash bug.
« Reply #54 on: 2021.January.14. 19:30:58 »
May be we could edit more intelligible texts with more space available.

Yes, this is something that can reasonably be done ... as long as they don't all get much longer, and so use up a lot of extra space.

There are only about 320 bytes of usable space left in the current IS-DOS.SYS program file, and in where it actually runs when in memory on the Enterprise.

That really isn't a lot of space to play with, and I need most, or maybe all, of that memory to improve the performance and capabilities of the video driver, which is what I personally feel is the most-important thing to add to an IS-DOS version 1.1, because it directly effects the user-experience of running existing programs like WordStar, VEDIT and Turbo Pascal.


Beyond that, adding some MSX-DOS2 functionality (or CP/M 3, or Z-System) will need a major reorganization of how IS-DOS actually runs when it is in memory, and that is likely to break things and need a lot of work and testing to make it stable.

Please remember, from a programming point-of-view, you can already accomplish nearly all of this extra functionality just by using native EXOS and EXDOS calls within an IS-DOS program, or you can just write a native EXOS application.

Offline BruceTanner

  • EP lover
  • *
  • Posts: 607
  • Country: gb
Re: IS-DOS crash bug.
« Reply #55 on: 2021.January.14. 19:45:48 »
you can already accomplish nearly all of this extra functionality just by using native EXOS and EXDOS calls within an IS-DOS program, or you can just write a native EXOS application.
And you can make an EXOS/EXDOS program that can be run from IS-DOS or loaded as an EXOS program! https://enterpriseforever.com/programming/com-file-for-is-basic-and-is-dos/ :mrgreen:

Offline elmer

  • EP fan
  • *
  • Posts: 196
  • Country: us
Re: IS-DOS crash bug.
« Reply #56 on: 2021.January.14. 19:56:32 »
And you can make an EXOS/EXDOS program that can be run from IS-DOS or loaded as an EXOS program! https://enterpriseforever.com/programming/com-file-for-is-basic-and-is-dos/ :mrgreen:

Nice trick! :ds_icon_cheesygrin:

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: IS-DOS crash bug.
« Reply #57 on: 2021.January.14. 20:07:45 »
Yes, this is something that can reasonably be done ... as long as they don't all get much longer, and so use up a lot of extra space.

Not much longer, only 1 or 2 characters could allow to put an article on the sentence that makes better sense. Also, sometimes other sentences are shorter on Spanish/Hungarian than in English, and that space can be put on other text line. But usually English is a more compact language.

Off-topic: In my opinion, English is more compact and schematic, but on the other side, Spanish or Hungarian languages are more accurate on expressing the thoughts.

A good example from Szipucsu today.
« Last Edit: 2021.January.14. 20:12:52 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: IS-DOS crash bug.
« Reply #58 on: 2021.January.15. 01:33:10 »
Ok.... maybe I offended somebody, so I am going to explain me.

From my point of view, English, as a common-world-language, has lost a vast amount of its vocabulary on the colloquial use, while the not so common languages have added a lot of its words while still maintaining their own.

I like English and I understand how it has become a common language, not only because the most powerful country in the world uses it, because some of the best singers of both sides of the Atlantic sea perform using it, or because there are very good writers in English that is worth to read their books.

For me it has some characteristics that could have made it "easier" compared with other languages:

-It makes an intensive use of onomatopoeia. A lot of words are based on how the thing sounds...
-Few verb tenses, except a short list of irregular verbs.
-Fixed sentence constructions and linguistic elements positions.
-Funny phrasal verbs easy to remember, much like the onomatopoeia.
-Limited vocabulary, but as I have said, this probably was different on the past on United Kingdom.
-Preference for short words, of only 1 or 2 syllables instead of 3 or more on other languages.

And probably I could find more... but I don't want to bore you.

Offline elmer

  • EP fan
  • *
  • Posts: 196
  • Country: us
Re: IS-DOS crash bug.
« Reply #59 on: 2021.January.15. 20:30:31 »
Ok.... maybe I offended somebody, so I am going to explain me.

Haha ... I don't think that any English speaker would be offended by what you said! :)

For some of us, the imprecision of the English language is one of its charms, and it is the source of a lot of British humour. ;-)