Dragon emulator written in Python ???

A place to discuss everything Dragon related that doesn't fall into the other categories.
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

v0.3.0 is released: https://pypi.python.org/pypi/DragonPyEmulator/0.3.0

Some changes:
Change Display Queue to a simple Callback
Reimplement Multicomp 6809 and SBC09
Many code refactoring and cleanup
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

(from: viewtopic.php?f=7&t=4760&p=11891#p11889 )
jgerrie wrote:Been having trouble "injecting" the source into the Coco2b. Errors out with:
"OverflowError: unsigned 1-byte integer is greater than maximum"
Confirm, the bug...

It happens, if line numbers are more than $ff :oops:
Will fix this...

EDIT: Is fixed with: https://github.com/jedie/DragonPy/commi ... 658f505846 :D
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

today, i have split the 6809 CPU code into a separate project:
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

I add a example how to use MC6809...

See: https://github.com/6809/MC6809/blob/mas ... ple6809.py
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

I just release a new Version of MC6809:

https://pypi.python.org/pypi/MC6809

I have switch to "nose" to run unittests and cleanup the test code.
How the test run looks like, can be seen here: https://travis-ci.org/6809/MC6809/jobs/74993785
Which code parts are covered from tests, can be seen here: https://coveralls.io/github/6809/MC6809
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

Status Update:

I worked on the install procedure: Now the ROM file will be downloaded, extracted and cached on-the-fly. (All with SHA-1 checksum compare)


Now it's easier to install, see README:
I add a "starter GUI", look like this:
Image

And i fix the "freeze" Bug, in some situations after enable the realtime mode (speed limit)...


See also the "History": https://github.com/jedie/DragonPy#history
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Dragon emulator written in Python ???

Post by jedie »

I update DragonPy and MC6809 projects:
Both used the "dev-shell", so it's easier to start, e.g.:

Code: Select all

~$ git clone https://github.com/jedie/DragonPy.git
~$ cd DragonPy/
~/DragonPy$ ./devshell.py


Developer shell - DragonPy - v0.8.0.rc1

            ********************************************************
            * DragonPy is a Open source (GPL v3 or later) emulator *
            * for the 30 years old homecomputer Dragon 32          *
            * and Tandy TRS-80 Color Computer (CoCo)...            *
            ********************************************************
            * Homepage: https://github.com/jedie/DragonPy          *
            ********************************************************


Documented commands (use 'help -v' for verbose/'help <topic>' for details):

dev-shell commands
==================
fix_code_style      poetry   pytest     tox
list_venv_packages  publish  pyupgrade  update

DragonPy commands
=================
download_roms  editor  gui  log_list  run


(dragonpy) run

Code: Select all

~$ git clone https://github.com/6809/MC6809.git
~$ cd MC6809
~/MC6809 $ ./devshell.py


Developer shell - MC6809 - v0.6.0


Documented commands (use 'help -v' for verbose/'help <topic>' for details):

dev-shell commands
==================
fix_code_style      poetry   pytest     tox
list_venv_packages  publish  pyupgrade  update

MC6809 commands
===============
benchmark  profile
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Post Reply