Code Monkey home page Code Monkey logo

6502_ehbasic_v2.22's People

Contributors

cbmeeks avatar klaus2m5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

6502_ehbasic_v2.22's Issues

Commercial usage

For commercial use please contact Lee Davison at [email protected] for conditions.

As that would be sadly a bit hard now for several years, what now? Who owns the rights and could give out licenses when someone needs one?

error compiling patched version of EhBasic

Sir,
I was wondering what compiler you are using for the patched version of EhBasic. I am using the CC65 (CL65) toolchain. I get errors with some of the syntax. Particularly

LN 1551 .IF [* & $FF] = $FD

LN 1630 CMP #[TK_TAB-$80]*2

LN 3105 .IF [* & $FF] = $FD

LN 3342 CPX #<[LAB_224Da+2]

and lastly

LN 3344 CMP #>[LAB_224Da+2]

I'm guessing this is not valid syntax for CL65. Any help would be appreciated.
Thanks,
Jonathan

Weird problem, please help

Hello, I've successfully booted EhBasic with my homemade computer, everything seems to work, but I am getting weird numbers instead of integers. What could be the problem? This is an output, processor is w65c02s:

6502 EhBASIC [C]old/[W]arm ?

Memory size ? 4096

Memory size ? $0800

009.24 Bytes free

Enhanced BASIC 2.22

Ready
10PRINT"HELLO"
20GOTO10
RUN
HELLO
HELLO
HELLO
HELLO

Break in line 04.0256
Ready
LIST

0.3872 PRINT"HELLO"
0.0064 GOTO10

Ready

RAM above code / Ibuff above EhBASIC patch issue with STR$

When the RAM above code/Ibuff above EhBASIC patch is in place, the following output was occurring for me:

Ready
PRINT STR$(1)+STR$(2)+STR$(3)
 3 3 3

This is due to STR$'s conversion going onto the zero page.

A$=STR$(1):B$=STR$(2):C$=STR$(3)
PRINT SADD(A$);SADD(B$);SADD(C$)
 240 240 240

The issue can be fixed by adjusting the patch:

; *** begin RAM above code / Ibuff above EhBASIC patch ***
; *** replace
;      CMP   #>Ram_base        ; compare with start of program memory
;      BCS   LAB_RTST          ; branch if not in utility area
; *** with
      BEQ LAB_MVST        ; may be on zero page if LAB_296E was used, as in STR$
      CMP   #>Ibuffs          ; compare with location of input buffer page
      BNE   LAB_RTST          ; branch if not in utility area
LAB_MVST
; *** end   RAM above code / Ibuff above EhBASIC patch ***

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.