This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk/src/disk
Directory Listing
Revision
40 -
Directory Listing
Modified
Mon Oct 8 16:22:11 2007 UTC
(16 years, 7 months ago)
by
dpavlin
++ trunk/HISTORY (local)
$Id: HISTORY,v 1.1539 2007/05/01 04:03:51 debug Exp $
20070415 Landisk PCLOCK should be 33.33 MHz, not 50 MHz. (This makes
the clock run at correct speed.)
FINALLY found and fixed the bug which caused OpenBSD/landisk
to randomly bug out: an &-sign was missing in the special case
handling of FPSCR in the 'LDS.L @Rm+,FPSCR' instruction.
Adding similar special case handling for 'LDC.L @Rm+,SR'
(calling sh_update_sr() instead of just loading).
Implementing the 'FCNVSD FPUL,DRn' and 'FCNVDS DRm,FPUL'
SuperH instructions.
The 'LDC Rm,SR' instruction now immediately breaks out of the
dyntrans loop if an interrupt is to be triggered.
20070416 In memory_rw.c, if mapping a page as writable, make sure to
invalidate code translations even if the data access was a
read.
Minor SuperH updates.
20070418 Removing the dummy M68K emulation mode.
Minor SH update (turning unnecessary sts_mach_rn, sts_macl_rn,
and sts_pr_rn instruction handlers into mov_rm_rn).
20070419 Beginning to add a skeleton for an M88K mode: Adding a hack to
allow OpenBSD/m88k a.out binaries to be loaded, and disassembly
of a few simple 88K instructions.
Commenting out the 'LDC Rm,SR' fix from a few days ago, because
it made Linux/dreamcast bug out.
Adding a hack to dev_sh4.c (an extra translation cache
invalidation), which allows OpenBSD/landisk to boot ok after
an install. Upgrading the Landisk machine mode to stable,
updating documentation, etc.
20070420 Experimenting with adding a PCI controller (pcic) to dev_sh4.
Adding a dummy Realtek 8139C+ skeleton device (dev_rtl8139c).
Implementing the first M88K instructions (br, or[.u] imm), and
adding disassembly of some more instructions.
20070421 Continuing a little on dev_rtl8139c.
20070422 Implementing the 9346 EEPROM "read" command for dev_rtl8139c.
Finally found and fixed an old bug in the log n symbol search
(it sometimes missed symbols). Debug trace (-i, -t etc) should
now show more symbols. :-)
20070423 Continuing a little on M88K disassembly.
20070428 Fixing a memset arg order bug in src/net/net.c (thanks to
Nigel Horne for noticing the bug).
Applying parts of a patch from Carl van Schaik to clear out
bottom bits of MIPS addresses more correctly, when using large
page sizes, and doing some other minor cleanup/refactoring.
Fixing a couple of warnings given by gcc with the -W option (a
few more warnings than just plain -Wall).
Reducing SuperH dyntrans physical address space from 64-bit to
32-bit (since SH5/SH64 isn't imlemented yet anyway).
Adding address-to-symbol annotation to a few more instructions
in the SuperH instruction trace output.
Beginning regression testing for the next release.
Reverting the value of SCIF_DELAYED_TX_VALUE from 1 to 2,
because OpenBSD/landisk may otherwise hang randomly.
20070429 The ugly hack/workaround to get OpenBSD/landisk booting without
crashing does NOT work anymore (with the April 21 snapshot
of OpenBSD/landisk). Strangely enough, removing the hack
completely causes OpenBSD/landisk to work (!).
More regression testing (re-testing everything SuperH-related,
and some other things).
Cobalt interrupts were actually broken; fixing by commenting
out the DEC21143s in the Cobalt machine.
20070430 More regression testing.
20070501 Updating the OpenBSD/landisk install instructions to use
4.1 instead of the current snapshot.
GAAAH! OpenBSD/landisk 4.1 _needs_ the ugly hack/workaround;
reintroducing it again. (The 4.1 kernel is actually from
2007-03-11.)
Simplifying the NetBSD/evbarm install instructions a bit.
More regression testing.
============== RELEASE 0.4.5.1 ==============
Revision
38 -
Directory Listing
Modified
Mon Oct 8 16:21:53 2007 UTC
(16 years, 7 months ago)
by
dpavlin
++ trunk/HISTORY (local)
$Id: HISTORY,v 1.1515 2007/04/14 05:39:46 debug Exp $
20070324 Adding a "--debug" option to the configure script, to disable
optimizations in unstable development builds.
Moving out SCSI-specific stuff from diskimage.c into a new
diskimage_scsicmd.c.
Applying Hĺvard Eidnes' patch for SCSICDROM_READ_DISKINFO and
SCSICDROM_READ_TRACKINFO. (Not really tested yet.)
Implementing disk image "overlays" (to allow simple roll-back
to previous disk state). Adding a 'V' disk flag for this, and
updating the man page and misc.html.
20070325 Stability fix to cpu_dyntrans.c, when multiple physical pages
share the same initial table entry. (The ppp == NULL check
should be physpage_ofs == 0.) Bug found by analysing GXemul
against a version patched for Godson.
Fixing a second occurance of the same problem (also in
cpu_dyntrans.c).
Fixing a MAJOR physical page leak in cpu_dyntrans.c; pages
weren't _added_ to the set of translated pages, they _replaced_
all previous pages. It's amazing that this bug has been able
to live for this long. (Triggered when emulating >128MB RAM.)
20070326 Removing the GDB debugging stub support; it was too hackish
and ugly.
20070328 Moving around some native code generation skeleton code.
20070329 The -lm check in the configure script now also checks for sin()
in addition to sqrt(). (Thanks to Nigel Horne for noticing that
sqrt was not enough on Fedora Core 6.) (Not verified yet.)
20070330 Fixing an indexing bug in dev_sh4.c, found by using gcc version
4.3.0 20070323.
20070331 Some more experimentation with native code generation.
20070404 Attempting to fix some more SH4 SCIF interrupt bugs; rewriting
the SH interrupt assertion/deassertion code somewhat.
20070410 Splitting src/file.c into separate files in src/file/.
Cleanup: Removing the dummy TS7200, Walnut, PB1000, and
Meshcube emulation modes, and dev_epcom and dev_au1x00.
Removing the experimental CHIP8/RCA180x code; it wasn't really
working much lately, anyway. It was fun while it lasted.
Also removing the experimental Transputer CPU support.
20070412 Moving the section about how the dynamic translation system
works from intro.html to a separate translation.html file.
Minor SH fixes; attempting to get OpenBSD/landisk to run
without randomly bugging out, but no success yet.
20070413 SH SCI (serial bit interface) should now work together with a
(new) RS5C313 clock device (for Landisk emulation).
20070414 Moving Redhat/MIPS down from supported to experimental, in
guestoses.html.
Preparing for a new release; doing some regression testing etc.
============== RELEASE 0.4.5 ==============
Revision
36 -
Directory Listing
Added
Mon Oct 8 16:21:34 2007 UTC
(16 years, 7 months ago)
by
dpavlin
++ trunk/HISTORY (local)
$Id: HISTORY,v 1.1497 2007/03/18 03:41:36 debug Exp $
20070224 Minor update to the initialization of the ns16550 in
machine_walnut.c, to allow that machine type to boot with the
new interrupt system (although it is still a dummy machine).
Adding a wdc at 0x14000000 to machine_landisk.c, and fixing
the SCIF serial interrupts of the SH4 cpu enough to get
NetBSD/landisk booting from a disk image :-) Adding a
preliminary install instruction skeleton to guestoses.html.
20070306 Adding SH-IPL+G PROM emulation, and also passing the "end"
symbol in r5 on bootup, for Landisk emulation. This is enough
to get OpenBSD/landisk to install :) Adding a preliminary
install instruction skeleton to the documentation. SuperH
emulation is still shaky, though :-/
20070307 Fixed a strangeness in memory_sh.c (read/write was never
returned for any page). (Unknown whether this fixes any actual
problems, though.)
20070308 dev_ram.c fix: invalidate code translations on writes to
RAM, emulated as separate devices. Linux/dreamcast gets
further in the boot process than before, but still bugs out
in userland.
Fixing bugs in the "stc.l gbr,@-rN" and "ldc.l @rN+,gbr" SuperH
instructions (they should NOT check the MD bit), allowing the
Linux/dreamcast Live CD to reach userland correctly :-)
20070310 Changing the cpu name "Alpha" in src/useremul.c to "21364" to
unbreak userland syscall emulation of FreeBSD/Alpha binaries.
20070314 Applying a patch from Michael Yaroslavtsev which fixes the
previous Linux lib64 patch to the configure script.
20070315 Adding a (dummy) sun4v machine type, and SPARC T1 cpu type.
20070316 Creating a new directory, src/disk, and moving diskimage.c
to it. Separating out bootblock loading stuff from emul.c into
new files in src/disk.
Adding some more SPARC registers.
20070318 Preparing/testing for a minirelease, 0.4.4.1.
============== RELEASE 0.4.4.1 ==============