Search found 656 matches

by jedie
Wed Aug 20, 2014 5:01 pm
Forum: Hints and Tips
Topic: BASIC code editor...
Replies: 5
Views: 7193

Re: BASIC code editor...

Now, DragonPy is usable as a rudimentary BASIC IDE :P With the updates from today: https://github.com/jedie/DragonPy/compare/7e0f16630...ce12148 the Editor is usable and send to emulator and back works fine. Also the "renumbering" seems to work as expected... First missing thing is a "Auto invert sh...
by jedie
Wed Aug 20, 2014 4:56 pm
Forum: Hints and Tips
Topic: BASIC and strings
Replies: 16
Views: 13098

Re: BASIC and strings

With https://github.com/jedie/DragonPy/commi ... c2990eb096 i do the ' <-> :' and ELSE <-> :ELSE replacement internally in my Emulator<->BASIC-Editor

Seems to work fine :D
by jedie
Wed Aug 20, 2014 4:50 pm
Forum: Dragon General
Topic: Request: Small BASIC programs...
Replies: 9
Views: 6390

Re: Request: Small BASIC programs...

Thanks sorchard ... But i can currently not read .cas files :( Here is the "DUMP PROGRAM" from Inside the Dragon in a working version. (The OCR in the PDF has made some errors): 10 'DUMP PROGRAM 15 'Peeks a word (16 bits) 20 DEF FNW(A)=PEEK(A)*256+PEEK(A+1) 30 DIM ZZ(2),XX(2,1),ZZ$(2),XX$(2,1) 40 DI...
by jedie
Mon Aug 18, 2014 8:08 pm
Forum: Hints and Tips
Topic: BASIC and strings
Replies: 16
Views: 13098

Re: BASIC and strings

That makes sense. And yes, i see the same with "ELSE"...

Are ' and ELSE the only "exceptions" ?

Maybe i add simple replace rules:

Code: Select all

":'" -> "'"
":ELSE" -> "ELSE"
by jedie
Sun Aug 17, 2014 4:19 pm
Forum: Hints and Tips
Topic: BASIC and strings
Replies: 16
Views: 13098

Re: BASIC and strings

Now i can test it in DragonPy... I used this listing and used the function to extract the BASIC Listing... I used this example code line: 10 ' PRINT "PRINT" And extract it, i see this debug output: BASIC program dump: $1e $16 $00 $0a $3a $83 $20 $50 $52 $49 $4e $54 $20 $22 $50 $52 $49 $4e $54 $22 $0...
by jedie
Sun Aug 17, 2014 3:41 pm
Forum: Dragon General
Topic: Request: Small BASIC programs...
Replies: 9
Views: 6390

Request: Small BASIC programs...

I would like to collect small BASIC programs.

Preferably Text only program, first.

e.g.: Display all characters:

Code: Select all

10 CLS
20 FOR I = 0 TO 255:
30 POKE 1024+(I*2),I
40 NEXT I
50 I$ = INKEY$:IF I$="" THEN 50
by jedie
Sun Aug 17, 2014 2:02 pm
Forum: Dragon General
Topic: Dragon emulator written in Python ???
Replies: 106
Views: 93946

Re: Dragon emulator written in Python ???

Quick Update:

There is a rudimentary BASIC editor and you can inject a BASIC program listing from the editor directly into the emulator and back: get the listing from emulator into the editor. (Currently only with Dragon 32)
by jedie
Thu Aug 07, 2014 9:44 am
Forum: Discuss This Site
Topic: Wiki: "hidden" pages...
Replies: 12
Views: 13241

Re: Wiki: "hidden" pages...

There is so mutch to do, to cleanup every page... Now i have "tagged" the "Magazines" pages... Then i have a idea: In the Main menu is the "Magazines" pages linked: http://archive.worldofdragon.org/index.php?title=Magazines Now i have moved this pages to http://archive.worldofdragon.org/index.php?ti...
by jedie
Wed Aug 06, 2014 8:12 pm
Forum: Dragon General
Topic: How does the Keyboard Matrix and PIA really work?
Replies: 7
Views: 7089

Re: How does the Keyboard Matrix and PIA really work?

The CoCo ROM routine works a little bit other than the Dragon ones... They doesn't scan only the first row. It always scans all rows: a23a| read $ff00 ($ff02 is $fe 11111110) send $ff 11111111 back |$a23a: UNKNOWN a23a| read $ff00 ($ff02 is $fd 11111101) send $ff 11111111 back |$a23a: UNKNOWN a23a| ...
by jedie
Wed Aug 06, 2014 5:12 pm
Forum: Hints and Tips
Topic: How does RND() and TIMER work?
Replies: 13
Views: 11798

Re: How does RND() and TIMER work?

Currently in DragonPy the TIMER is not updated: ?TIMER 0 ?TIMER 0 TIMER=3 ?TIMER 3 RND() seems to work... In DragonPy is a mechanism to debug memory read/writes to specific addresses. I add those middleware callbacks for $0115-9 with: I have add some debug log output with: https://github.com/jedie/D...