/[VRac]/M6502
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /M6502

View Directory Listing Directory Listing


Sticky Revision:

Revision 208 - Directory Listing
Modified Mon Apr 14 19:40:02 2008 UTC (10 years, 11 months ago) by dpavlin
added mem_peek_region to get chunk of memory as single scalar

Revision 206 - Directory Listing
Modified Mon Apr 14 17:44:48 2008 UTC (10 years, 11 months ago) by dpavlin
make it work with tied memory

Revision 205 - Directory Listing
Modified Mon Apr 14 15:04:19 2008 UTC (10 years, 11 months ago) by dpavlin
it's not opCache, now it's memory

Revision 204 - Directory Listing
Modified Mon Apr 14 15:03:56 2008 UTC (10 years, 11 months ago) by dpavlin
if we use tied memory, no callbacks work just fine

Revision 203 - Directory Listing
Modified Sun Apr 13 22:04:44 2008 UTC (10 years, 11 months ago) by dpavlin
added (optional) tie-based memory implementation [0.0.3]

Revision 202 - Directory Listing
Modified Sun Apr 13 20:03:57 2008 UTC (10 years, 11 months ago) by dpavlin
all tests pass

Revision 201 - Directory Listing
Modified Sun Apr 13 19:54:12 2008 UTC (10 years, 11 months ago) by dpavlin
cleaup callback tests

Revision 200 - Directory Listing
Modified Sun Apr 13 12:17:07 2008 UTC (10 years, 11 months ago) by dpavlin
finally broke implementation of callbacks reveling bug in xs

Revision 199 - Directory Listing
Modified Sun Apr 13 11:40:01 2008 UTC (10 years, 11 months ago) by dpavlin
reset CPU before tests

Revision 198 - Directory Listing
Modified Sun Apr 13 11:05:29 2008 UTC (10 years, 11 months ago) by dpavlin
callback debugging

Revision 197 - Directory Listing
Modified Sun Apr 13 00:44:30 2008 UTC (10 years, 11 months ago) by dpavlin
skip perl callback for same value

Revision 196 - Directory Listing
Modified Sun Apr 13 00:44:07 2008 UTC (10 years, 11 months ago) by dpavlin
better test output

Revision 195 - Directory Listing
Modified Sun Apr 13 00:32:39 2008 UTC (10 years, 11 months ago) by dpavlin
a try at implementing selectable callbacks to perl for read/write operations
as opposed to whole memory

Revision 148 - Directory Listing
Modified Sun Aug 5 14:08:01 2007 UTC (11 years, 7 months ago) by dpavlin
pod tweaks

Revision 144 - Directory Listing
Modified Sun Aug 5 01:36:37 2007 UTC (11 years, 7 months ago) by dpavlin
cleanup build system

Revision 132 - Directory Listing
Modified Sat Aug 4 21:04:05 2007 UTC (11 years, 7 months ago) by dpavlin
Move some tests around and little improvements

Revision 124 - Directory Listing
Modified Sat Aug 4 14:13:28 2007 UTC (11 years, 7 months ago) by dpavlin
re-organize file patch to new VRac layout to ease re-use of code

Revision 122 - Directory Listing
Modified Sat Aug 4 13:48:16 2007 UTC (11 years, 7 months ago) by dpavlin
reorganize ROM image location


Revision 121 - Directory Listing
Modified Sat Aug 4 13:18:39 2007 UTC (11 years, 7 months ago) by dpavlin
implemented scale using SDL::Tool::Graphic -- need to find fast hardware way
to do this...

Revision 117 - Directory Listing
Modified Fri Aug 3 22:46:03 2007 UTC (11 years, 7 months ago) by dpavlin
don't load tape by default

Revision 116 - Directory Listing
Modified Fri Aug 3 22:42:20 2007 UTC (11 years, 7 months ago) by dpavlin
begin merge into VRač - Virtualno Računalo

Revision 115 - Directory Listing
Modified Fri Aug 3 20:04:00 2007 UTC (11 years, 7 months ago) by dpavlin
fix singleton var name in preparation of merge

Revision 114 - Directory Listing
Modified Fri Aug 3 20:01:51 2007 UTC (11 years, 7 months ago) by dpavlin
try to push bits to tape, without luck

Revision 110 - Directory Listing
Modified Fri Aug 3 12:21:47 2007 UTC (11 years, 7 months ago) by dpavlin
command 'taperate' to change speed of which bytes are fed from tape
(still doesn't work)

Revision 109 - Directory Listing
Modified Fri Aug 3 10:29:33 2007 UTC (11 years, 7 months ago) by dpavlin
tape implementation (still doesn't work)

Revision 108 - Directory Listing
Modified Fri Aug 3 09:18:08 2007 UTC (11 years, 7 months ago) by dpavlin
rename MEM_SIZE to CACHE_SIZE to prevent clush with perl include

Revision 107 - Directory Listing
Modified Fri Aug 3 08:57:37 2007 UTC (11 years, 7 months ago) by dpavlin
cleanup left-overs from byte-by-byte screen rendering and flip bytes on
screen so it's o.k.

Revision 106 - Directory Listing
Modified Fri Aug 3 08:44:45 2007 UTC (11 years, 7 months ago) by dpavlin
disable video memory rendering on each access and enable frame-by-frame
rendering resulting in *massive* speed improvement and allmost usable
scrolling. Downside is: screen is now flipped :-)

Revision 105 - Directory Listing
Modified Thu Aug 2 21:55:06 2007 UTC (11 years, 7 months ago) by dpavlin
more work on keyboard, shift still nowhere to be found :-)

Revision 104 - Directory Listing
Modified Thu Aug 2 19:00:55 2007 UTC (11 years, 7 months ago) by dpavlin
added 1.2 and 1.3 ROM images

Revision 103 - Directory Listing
Modified Thu Aug 2 18:01:51 2007 UTC (11 years, 7 months ago) by dpavlin
more work on keyboard. Addresses can now accept callback to handle special
cases, like newly added $self->key_down( $key )

Revision 102 - Directory Listing
Modified Thu Aug 2 17:31:13 2007 UTC (11 years, 7 months ago) by dpavlin
whole (implemented, shift is missing) keyboard work

Revision 101 - Directory Listing
Modified Thu Aug 2 17:15:07 2007 UTC (11 years, 7 months ago) by dpavlin
Keyboard works! Yee...

Revision 100 - Directory Listing
Modified Thu Aug 2 16:58:07 2007 UTC (11 years, 7 months ago) by dpavlin
implemented opcode cache of 64k! Helps a bit.

Revision 99 - Directory Listing
Modified Thu Aug 2 16:21:17 2007 UTC (11 years, 7 months ago) by dpavlin
keyboard works, but it's *soooooo* slow... :-(

Revision 98 - Directory Listing
Modified Thu Aug 2 16:01:16 2007 UTC (11 years, 7 months ago) by dpavlin
non-working keyboard :-/

Revision 97 - Directory Listing
Modified Thu Aug 2 14:07:52 2007 UTC (11 years, 7 months ago) by dpavlin
it's allmost usable. Without keyboard, that is :-)

Revision 96 - Directory Listing
Modified Thu Aug 2 13:58:26 2007 UTC (11 years, 7 months ago) by dpavlin
added SDL event loop around CPU emulation

Revision 95 - Directory Listing
Modified Thu Aug 2 13:19:19 2007 UTC (11 years, 7 months ago) by dpavlin
runs again :-)

Revision 94 - Directory Listing
Modified Thu Aug 2 13:04:29 2007 UTC (11 years, 7 months ago) by dpavlin
documented all functions and minor tweak to API

Revision 93 - Directory Listing
Modified Thu Aug 2 12:53:00 2007 UTC (11 years, 7 months ago) by dpavlin
correctly handle cycles left from exec

Revision 92 - Directory Listing
Modified Thu Aug 2 12:49:19 2007 UTC (11 years, 7 months ago) by dpavlin
and test 6502 assembly execution

Revision 91 - Directory Listing
Modified Thu Aug 2 12:37:06 2007 UTC (11 years, 7 months ago) by dpavlin
and exec to actually run CPU!

Revision 90 - Directory Listing
Modified Thu Aug 2 12:23:18 2007 UTC (11 years, 7 months ago) by dpavlin
minor tweaks, everything tested now works

Revision 89 - Directory Listing
Modified Thu Aug 2 12:01:09 2007 UTC (11 years, 7 months ago) by dpavlin
Remove all traces of older attempt to embed perl into CPU emulation module
and move forward to just using it via XS bindings

Revision 88 - Directory Listing
Modified Thu Aug 2 11:15:57 2007 UTC (11 years, 7 months ago) by dpavlin
fix dependencies

Revision 87 - Directory Listing
Modified Thu Aug 2 11:08:10 2007 UTC (11 years, 7 months ago) by dpavlin
- transfer debug state into C, added accesor M6502->debug();
- update_*_R functions to keep perl vars in sync with C
- tests

Revision 86 - Directory Listing
Modified Wed Aug 1 22:25:37 2007 UTC (11 years, 7 months ago) by dpavlin
and here it segfaults again :-)

Revision 85 - Directory Listing
Modified Wed Aug 1 22:02:09 2007 UTC (11 years, 7 months ago) by dpavlin
strip LF from debugf, it's added by (v2) macro anyway :-)

Revision 84 - Directory Listing
Modified Wed Aug 1 22:01:15 2007 UTC (11 years, 7 months ago) by dpavlin
commented enough code so that my minimal example doesn't segfault

Revision 83 - Directory Listing
Modified Wed Aug 1 21:46:23 2007 UTC (11 years, 7 months ago) by dpavlin
allocate memory for R if needed, trivial test (excercise segfault)

Revision 82 - Directory Listing
Modified Wed Aug 1 21:40:17 2007 UTC (11 years, 7 months ago) by dpavlin
begin refactoring into proper XS module (really need to do this so I can handle SDL event loop)

Revision 81 - Directory Listing
Modified Wed Aug 1 15:53:54 2007 UTC (11 years, 7 months ago) by dpavlin
cleanup build process

Revision 80 - Directory Listing
Modified Wed Aug 1 15:34:43 2007 UTC (11 years, 7 months ago) by dpavlin
move to XS compilation

Revision 79 - Directory Listing
Modified Wed Aug 1 14:23:40 2007 UTC (11 years, 7 months ago) by dpavlin
moved upstream source in src dir


Revision 78 - Directory Listing
Modified Wed Aug 1 13:52:39 2007 UTC (11 years, 7 months ago) by dpavlin
beginning of keyboard controller (added ports for start)

Revision 77 - Directory Listing
Modified Wed Aug 1 13:01:17 2007 UTC (11 years, 7 months ago) by dpavlin
cleanup and refresh memory map on load image

Revision 76 - Directory Listing
Modified Wed Aug 1 12:57:15 2007 UTC (11 years, 7 months ago) by dpavlin
and in the same spirit, render memory map super-fast using SDL (and in the
process, make it white :-)

Revision 75 - Directory Listing
Modified Wed Aug 1 12:40:20 2007 UTC (11 years, 7 months ago) by dpavlin
super-fast SDL-based screen renderer

Revision 74 - Directory Listing
Modified Tue Jul 31 23:48:19 2007 UTC (11 years, 7 months ago) by dpavlin
Implemented all R parts which are public in perl

Revision 73 - Directory Listing
Modified Tue Jul 31 21:43:57 2007 UTC (11 years, 7 months ago) by dpavlin
experimental video renderer

Revision 71 - Directory Listing
Modified Tue Jul 31 17:42:03 2007 UTC (11 years, 7 months ago) by dpavlin
other minor tweaks: j ff89 works for the first time!

Revision 70 - Directory Listing
Modified Tue Jul 31 17:34:52 2007 UTC (11 years, 7 months ago) by dpavlin
Use current $a for m if no arguments

Revision 69 - Directory Listing
Modified Tue Jul 31 17:26:43 2007 UTC (11 years, 7 months ago) by dpavlin
LSB_FIRST was required to make it work on x86.

Revision 68 - Directory Listing
Modified Tue Jul 31 17:15:54 2007 UTC (11 years, 7 months ago) by dpavlin
dump_R now returs registar dump and cli uses it to dump registers state

Revision 66 - Directory Listing
Modified Tue Jul 31 16:42:09 2007 UTC (11 years, 7 months ago) by dpavlin
generate interrupt on illegal instruction

Revision 65 - Directory Listing
Modified Tue Jul 31 16:41:46 2007 UTC (11 years, 7 months ago) by dpavlin
don't confess, but just warn of write access to read-only memory

Revision 64 - Directory Listing
Modified Tue Jul 31 16:33:41 2007 UTC (11 years, 7 months ago) by dpavlin
debug and trace shouldn't be remembered

Revision 63 - Directory Listing
Modified Tue Jul 31 16:33:21 2007 UTC (11 years, 7 months ago) by dpavlin
implement own Op6502 also!

Revision 62 - Directory Listing
Modified Tue Jul 31 16:24:49 2007 UTC (11 years, 7 months ago) by dpavlin
j 1000 now sets next command to r 1

Revision 61 - Directory Listing
Modified Tue Jul 31 16:22:10 2007 UTC (11 years, 7 months ago) by dpavlin
more cli improvements:
- load checks for file and returns success
- prompt now returns original line

Revision 60 - Directory Listing
Modified Tue Jul 31 16:20:06 2007 UTC (11 years, 7 months ago) by dpavlin
I *should* really fix segfaulting some other way :-)

Revision 59 - Directory Listing
Modified Tue Jul 31 16:06:27 2007 UTC (11 years, 7 months ago) by dpavlin
fix number of lines that e cli command displays

Revision 58 - Directory Listing
Modified Tue Jul 31 15:53:02 2007 UTC (11 years, 7 months ago) by dpavlin
don't run if there isn't any cycles. Still known to segfault

Revision 57 - Directory Listing
Modified Tue Jul 31 15:27:40 2007 UTC (11 years, 7 months ago) by dpavlin
make html target

Revision 56 - Directory Listing
Modified Tue Jul 31 15:03:23 2007 UTC (11 years, 7 months ago) by dpavlin
another refactoring: extract preferences to Prefs class

Revision 55 - Directory Listing
Modified Tue Jul 31 13:56:50 2007 UTC (11 years, 7 months ago) by dpavlin
more pod tweaks

Revision 54 - Directory Listing
Modified Tue Jul 31 13:35:02 2007 UTC (11 years, 7 months ago) by dpavlin
pod tweak

Revision 53 - Directory Listing
Modified Tue Jul 31 13:22:51 2007 UTC (11 years, 7 months ago) by dpavlin
test architecture

Revision 52 - Directory Listing
Modified Tue Jul 31 12:57:35 2007 UTC (11 years, 7 months ago) by dpavlin
tweaks

Revision 51 - Directory Listing
Modified Tue Jul 31 12:35:02 2007 UTC (11 years, 7 months ago) by dpavlin
re-add ram (needed for tests :-) but with slightly differenet semantic, more akin to poke_code

Revision 50 - Directory Listing
Modified Tue Jul 31 11:14:19 2007 UTC (11 years, 7 months ago) by dpavlin
- remove unused M6502::ram (can access @mem directly :-),
- debug messages now include name of module
- better last command handling

Revision 49 - Directory Listing
Modified Tue Jul 31 10:52:06 2007 UTC (11 years, 7 months ago) by dpavlin
- trace and debug are off during init phase (to speed up things)

Revision 48 - Directory Listing
Modified Tue Jul 31 10:47:30 2007 UTC (11 years, 7 months ago) by dpavlin
don't leek memory

Revision 47 - Directory Listing
Modified Tue Jul 31 10:16:36 2007 UTC (11 years, 7 months ago) by dpavlin
hexdump directly access @mem

Revision 46 - Directory Listing
Modified Tue Jul 31 10:13:13 2007 UTC (11 years, 7 months ago) by dpavlin
added _write_chunk which fills in memory and refresh vram if needed

Revision 45 - Directory Listing
Modified Tue Jul 31 09:43:50 2007 UTC (11 years, 7 months ago) by dpavlin
print vram accesses if trace is on

Revision 44 - Directory Listing
Modified Tue Jul 31 09:43:37 2007 UTC (11 years, 7 months ago) by dpavlin
just run emulator (so that cli would work)

Revision 43 - Directory Listing
Modified Tue Jul 31 09:43:21 2007 UTC (11 years, 7 months ago) by dpavlin
update vram display from prompt

Revision 42 - Directory Listing
Modified Tue Jul 31 09:37:01 2007 UTC (11 years, 7 months ago) by dpavlin
- use M6502::run_for to Exec6502 with run_for cycles
- added primitive command-line callback (cli)

Revision 41 - Directory Listing
Modified Tue Jul 31 08:49:22 2007 UTC (11 years, 7 months ago) by dpavlin
better output mostly

Revision 40 - Directory Listing
Modified Tue Jul 31 08:41:06 2007 UTC (11 years, 7 months ago) by dpavlin
fetch cycles to run from M6502::run_for

Revision 39 - Directory Listing
Modified Mon Jul 30 23:39:57 2007 UTC (11 years, 7 months ago) by dpavlin
various tweaks to make it work somewhat

Revision 38 - Directory Listing
Modified Mon Jul 30 23:28:25 2007 UTC (11 years, 7 months ago) by dpavlin
- implemented push_R to push register changes back to perl
- don't trace while rendering memory map
- render just video ram without show_mem
- use Exec6502 to execute limited number of cycles

Revision 37 - Directory Listing
Modified Mon Jul 30 22:27:47 2007 UTC (11 years, 7 months ago) by dpavlin
speed-up single-scale display a lot

Revision 36 - Directory Listing
Modified Mon Jul 30 22:06:13 2007 UTC (11 years, 7 months ago) by dpavlin
more tweaks

Revision 35 - Directory Listing
Modified Mon Jul 30 21:53:04 2007 UTC (11 years, 7 months ago) by dpavlin
tests now pass

Revision 34 - Directory Listing
Modified Mon Jul 30 21:34:30 2007 UTC (11 years, 7 months ago) by dpavlin
somewhat works now...

Revision 33 - Directory Listing
Modified Mon Jul 30 21:00:36 2007 UTC (11 years, 7 months ago) by dpavlin
Orao now calls M6502->init correctly, and other tweak to make it semi-working

Revision 32 - Directory Listing
Modified Mon Jul 30 18:37:37 2007 UTC (11 years, 7 months ago) by dpavlin
comming along nicely: implement parts of memory maps

Revision 31 - Directory Listing
Modified Mon Jul 30 18:07:29 2007 UTC (11 years, 7 months ago) by dpavlin
startup, open window

Revision 30 - Directory Listing
Modified Mon Jul 30 17:56:13 2007 UTC (11 years, 7 months ago) by dpavlin
make screen open

Revision 29 - Directory Listing
Modified Mon Jul 30 17:32:41 2007 UTC (11 years, 7 months ago) by dpavlin
great source reorganization, M6502 are now more-or-less generic 6502 CPU bindings,
while all specific stuff to Orao (which isn't working yet) is implemented in
Screen (SDL display) or Orao (palform specific code)

Revision 28 - Directory Listing
Modified Mon Jul 30 15:52:22 2007 UTC (11 years, 7 months ago) by dpavlin
implemented Op6502 using mem perl bridge

Revision 27 - Directory Listing
Modified Mon Jul 30 15:45:03 2007 UTC (11 years, 7 months ago) by dpavlin
implement memory read and write callbacks to perl

Revision 26 - Directory Listing
Modified Mon Jul 30 14:23:22 2007 UTC (11 years, 7 months ago) by dpavlin
added init, don't auto-vivify variables from M6502 package

Revision 25 - Directory Listing
Modified Mon Jul 30 14:02:31 2007 UTC (11 years, 7 months ago) by dpavlin
implemented some R members and callbacks from M6502

Revision 24 - Directory Listing
Modified Mon Jul 30 13:29:57 2007 UTC (11 years, 7 months ago) by dpavlin
beginning of embedding perl into M6502 emulator

Revision 23 - Directory Listing
Added Mon Jul 30 10:49:26 2007 UTC (11 years, 7 months ago) by dpavlin
import upstream M6502-010807.zip from http://fms.komkon.org/EMUL8/

  ViewVC Help
Powered by ViewVC 1.1.26