Giter Club home page Giter Club logo

Comments (7)

davidgiven avatar davidgiven commented on July 1, 2024

I've been thinking about porting Microsoft Basic, but it looks complex --- ASM.COM has some bugs and missing features I'd need to implement. The one you linked is rather simpler. Where did it come from? It's clearly a 6502 CP/M port, so I'm guessing either DOS65 or DOS/65 (these are different projects)?

I can't use it as it stands because it has no license, which is why I need to know...

from cpm65.

SEGStriker avatar SEGStriker commented on July 1, 2024

I got it from here: https://github.com/Dietrich-L/CPM-65/tree/main/BASIC

But, as seen in the source code, it is much earlier, written by another author.
Dietrich has his own port of CP/M-65, initially to only one platform. Some time ago I gave him an idea to port it to Apple II. Meanwhile you also ported your version to Apple II. Actually, it works on Apple II also (not only //e, but prints only the odd symbols, others are sent to non-existing 80-column card. Not sure if it will work with Videx in slot 0.

from cpm65.

davidgiven avatar davidgiven commented on July 1, 2024

I completely forgot about your message! And then went and ported Altirra BASIC, which is an Atari BASIC clone and significantly more work than porting this would have been... but at least there's a BASIC now, even if it's not very Microsoft compatible.

from cpm65.

davidgiven avatar davidgiven commented on July 1, 2024

Unfortunately, looking at Dietrich's code in more detail, it's pretty clear that it's not original and is in fact reverse engineered from Microsoft BASIC. e.g.:

From the leaked Microsoft BASIC code:

FRE:
        lda     VALTYP
        beq     L3188
        jsr     FREFAC
L3188:
        jsr     GARBAG
        sec
        lda     FRETOP
        sbc     STREND
        tay
        lda     FRETOP+1
        sbc     STREND+1

From Dietrich's code:

FRE   LDA VAR_F      ;FRE COMMAND
   BEQ FRE1
   JSR GARCOL1
FRE1   JSR RM_STR
   SEC
   LDA STREND
   SBC VTEND
   TAY
   LDA STREND+1
   SBC VTEND+1

There are many other similarities. It's even got the "MICROSOFT!" Easter Egg in it. So that renders it unusable, I'm afraid.

from cpm65.

SEGStriker avatar SEGStriker commented on July 1, 2024

Do you mean that one? https://www.pagetable.com/?p=774
Definitely, there are some similarities, but it could be indirect.

from cpm65.

davidgiven avatar davidgiven commented on July 1, 2024

I doubt it, unfortunately. They look far too similar to be a coincidence. Even the token names are listed in the same order.

from cpm65.

SEGStriker avatar SEGStriker commented on July 1, 2024

So, I guess you aren't supposed to use the official MS code?

from cpm65.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.