Commit Graph

88 Commits

Author SHA1 Message Date
Oliver Stöneberg
5a6a00661e fixed libflac compilation for older clang versions (nw) 2014-03-12 15:26:27 +00:00
Aaron Giles
4ea9df02a1 Moved core template container classes up from emutempl.h to coretmpl.h:
[Aaron Giles]
 * these classes now no longer take a resource_pool; everything is
    managed globally -- this means that objects added to lists must be
    allocated with global_alloc
 * added new auto_pointer<> template which wraps a pointer and auto-frees
    it upon destruction; it also defaults to NULL so it doesn't need to
    be explicitly initialized
 * moved tagged_list template to tagmap.h

Redo of the low-level memory tracking system: [Aaron Giles]
 * moved low-level tracking out of emu\emualloc into lib\util\corealloc
    so it can be shared among all components and used by core libraries
 * global_alloc and friends no longer use a resource pool to track
    allocations; turns out this was a wholly redundant system that wasted
    a lot of memory
 * removed global_resource_pool entirely
 * added global_free_array to delete arrays allocated with 
    global_alloc_array
 * added tracking of object versus array allocation; we will now error
    if you use global_free on an array, or global_free_array on an object

Added new utility helper const_string_pool which can be used to 
efficiently accumulate strings that are not intended to be modified.
Used by updated makelist and software list code. [Aaron Giles]

Updated png2bdc and makelist tools to not leak memory and use more modern
techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles]

Deprecated auto_strdup and removed all uses by way of caller-managed 
astrings and the software list rewrite. [Aaron Giles]

Rewrote software list management: [Aaron Giles]
 * removed the notion of a software_list that is separate from a
    software_list_device; they are one and the same now
 * moved several functions into device_image_interface since they really
    didn't belong in the core software list class
 * lots of simplification as a result of the above changes

Additional notes (no whatsnew):

Moved definition of FPTR to osdcomm.h.

Some changes happened in the OSD code to fix issues, especially regarding
freeing arrays. SDL folks may need to fix up some of these.

The following devices still are using tokens and should be modernized
(I found them because they kept their token as void * and tried to
delete it, which you can't):

namco_52xx_device (mame/audio/namco52.c)
namco_54xx_device (mame/audio/namco54.c)
namco_06xx_device (mame/machine/namco06.c)
namco_50xx_device (mame/machine/namco50.c)
namco_51xx_device (mame/machine/namco51.c)
namco_53xx_device (mame/machine/namco53.c)
voodoo_device (emu/video/voodoo.c)
mos6581_device (emu/sound/mos6581.c)
aica_device (emu/sound/aica.c)
scsp_device (emu/sound/scsp.c)
dmadac_sound_device (emu/sound/dmadac.c)
s3c2440_device (emu/machine/s3c2440.c)
wd1770_device (emu/machine/wd17xx.c)
latch8_device (emu/machine/latch8.c)
duart68681_device (emu/machine/68681.c)
s3c2400_device (emu/machine/s3c2400.c)
s3c2410_device (emu/machine/s3c2410.c)
strataflash_device (mess/machine/strata.c)
hd63450_device (mess/machine/hd63450.c)
tap_990_device (mess/machine/ti99/990_tap.c)
omti8621_device (mess/machine/omti8621.c)
vdt911_device (mess/video/911_vdt.c)
apollo_graphics_15i (mess/video/apollo.c)
asr733_device (mess/video/733_asr.c)
2014-03-11 15:54:58 +00:00
Oliver Stöneberg
87c116cf1a pass VERSION define via compiler flags to libflac (nw) 2014-03-06 03:59:12 +00:00
Oliver Stöneberg
f6b0b18ad4 changed casing of FLAC folders to match official source distribution (nw) 2014-03-05 18:53:53 +00:00
Robbbert
174b7aa57e (MESS) SOL20 : added partial support for SVT format (used in Solace emulator) [Robbbert] 2014-03-04 11:57:46 +00:00
Robbbert
f273d09bd5 (MESS) microbee : added support for TAP and BEE formats (used in ubee512 emulator) [Robbbert] 2014-02-27 13:01:33 +00:00
Robbbert
c828d34891 (MESS) sorcerer : added .TAPE cassette format [Robbbert] 2014-02-23 11:11:58 +00:00
Oliver Stöneberg
23a39b0b0d added DEBUG-only tagmap lookup counter (nw) 2014-02-21 10:37:27 +00:00
Oliver Stöneberg
9fa82ef4c3 first round of clang 3.4 fixes for MESS (nw) 2014-02-20 17:50:51 +00:00
Curt Coder
2e7bf618a5 (MESS) pc: Added support for NASLite 1.72MB disk images. [Curt Coder] 2014-02-18 21:30:36 +00:00
Robbbert
6a57b6378f (MESS) spc1000 : added TAP cassette format [Robbbert] 2014-02-16 15:15:05 +00:00
Curt Coder
b10cef380b (MESS) Refactored the Commodore 1541/1551/1571/2031 disk drives to use the modern floppy system. [Curt Coder] 2014-02-03 15:59:54 +00:00
Robbbert
fb05c87a0d (MESS) phc25 : can load .phc cassettes 2014-02-02 13:19:58 +00:00
Curt Coder
1310c56964 (MESS) compclr2: Emulated the keyboard and floppy WIP. (nw)
(MESS) dai: Updated to use new TMS5501. (nw)

tms5501: Rewrote the emulation to use devcb2 and diserial. [Curt Coder]

flopimg: Added preliminary support for the 8-N-1 serial encoding scheme used on Compucolor II floppies. [Curt Coder]
2014-01-15 17:10:28 +00:00
R. Belmont
32689882b2 (MESS) itt3030: start adding to the skeleton. [rfka01, R. Belmont] 2013-12-06 02:35:55 +00:00
Curt Coder
b63b1b54ae (MESS) abc800: Added support for raw 640KB disk images. [Curt Coder]
(MESS) abc800: Fixed fast controller Z80 daisy chain, formatting a disk works now except for a not ready status after the last track. (nw)
2013-11-16 12:06:23 +00:00
Curt Coder
0b91c21b36 (MESS) Moved a bunch of buses under emu/bus. (nw) 2013-10-22 15:44:27 +00:00
Oliver Stöneberg
2d650cda4e updated zlib to 1.2.8 [Oliver Stöneberg] 2013-08-27 12:03:55 +00:00
Angelo Salese
6f47f6617f Added raw formats for PC-98 2013-08-07 21:15:15 +00:00
Miodrag Milanovic
ebbcb791d7 added json library and working example (nw) 2013-08-07 17:29:19 +00:00
Miodrag Milanovic
f1b81c7e98 Initial commit of internal web server, mostly to check compiling on various platforms (nw) 2013-08-07 07:20:01 +00:00
Robbbert
baaa4f2029 (MESS) kaypro : Added back the DSK format (still doesn't work!) 2013-07-29 10:15:21 +00:00
R. Belmont
bb8d90c0fa Force libflac to never be optimized in a more portable way (nw) 2013-07-25 13:41:15 +00:00
Robbbert
9b897a698b (MESS) mbee : converted to modern fdc, still doesn't work though. (nw) 2013-07-05 11:16:08 +00:00
Miodrag Milanovic
1953d6cf08 (MESS)-bml3: split into three variants (bml3, bml3a and bml3b) according to floppy disk support. Only bml3a (5.25" disk) is considered working. [jedwidz]
-m6809: Initially setting S with a 'TFR *,S' evidently should enable NMI [jedwidz]

-mc6845: Add rudimentary support for 'interlace and video' mode [jedwidz]
2013-06-19 13:23:20 +00:00
Curt Coder
d8571d9f57 (MESS) ep64: Modernized the Enterprise 64/128 driver. [Curt Coder] 2013-06-06 14:00:58 +00:00
Miodrag Milanovic
05eb4a0916 (MESS) bml3.c [jedwidz]
- improved keyboard
- improved video
- disk support
2013-06-05 08:50:19 +00:00
Robbbert
97e4fd9c6d (MESS) Applix: Added floppy disk drives 2013-05-29 09:34:06 +00:00
cracyc
bb174ce847 (mess) pc: fix font for asst128 (nw)
asst128_dsk: add support for asst128 ssqd 360K disks (nw)
--
Added a new format class for asst128 floppies because the 360K SSQD disk format conflicts with the standard 360K DSDD type.  The Assistant 128 BIOS translates disk commands so 360K DSDD disks boot fine though.
2013-05-11 17:49:37 +00:00
Miodrag Milanovic
cca73a4ec0 added additional flags for compiling on linux and osx, but enabled just posix, so it should cover most of distributions and variations (nw) 2013-05-10 10:34:43 +00:00
Miodrag Milanovic
4a09e17523 LUA 5.2.2 added to libraries, did basic hookup of LUA VM into running machine [Miodrag Milanovic]
added -script (or -autoboot_script) command to execute LUA script after driver startup
2013-05-09 13:57:44 +00:00
Oliver Stöneberg
565eb9ff85 disabled stupid zlib trace message with DEBUG (nw) 2013-02-01 15:56:06 +00:00
Curt Coder
ffe3325258 (MESS) d64/g64 floppy modernization WIP. (nw) 2013-01-17 15:32:52 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Oliver Stöneberg
8049cf1f63 fixed portmidi library name / removed overwrite of ARCH when compiling libflac (nw) 2013-01-01 20:59:25 +00:00
R. Belmont
ad80ff6c3f portmidi: Initial commit. [R. Belmont]
(nw: this isn't enabled to compile yet, this is just to make it easier to run the final tests on my Mac and my Windows laptop)
2013-01-01 16:11:32 +00:00
Olivier Galibert
9857a8770e pc98: Add its specific almost raw fdi disk format [O. Galibert] 2012-12-04 19:18:15 +00:00
Curt Coder
d40e28b6d1 (MESS) tiki100: Floppy modernization. (nw) 2012-11-29 19:01:03 +00:00
Sandro Ronco
fc3df750cd (MESS) Updated TVC HBF to use new floppy system. (nw) 2012-11-26 19:55:41 +00:00
R. Belmont
e28bcc6f74 (MESS) Olivetti M20: improved keyboard and floppy handling [Christian Grössler] 2012-11-23 23:01:44 +00:00
Curt Coder
d9de81c2a9 (MESS) bw2: Added modern disk formats. (nw) 2012-11-16 18:37:55 +00:00
Curt Coder
c93840e585 (MESS) adam: Added modern disk formats. (nw) 2012-11-05 19:44:19 +00:00
Olivier Galibert
f70e1a5a10 (mess) Add a generic wd format [O. Galibert] 2012-11-05 13:22:55 +00:00
Olivier Galibert
9d1aaf97ae (mess) upd765: Modernize [O. Galibert]
Remaining TODO list:
- take WP into account

- test the amstrad, implement its observational format (edsk) using
  pasti as a start.  Or find the legendary amstrad IPFs.  Or both.

- correct read track, the implementation is completely wrong.  See
  previous for testing, it's only used in protections the check the
  inter-sector gaps.

- shake and bake on the amstrad, protections are the best to find bugs
  in a fdc

- add the scan id commands, but nothing seems to use them

- debug the 2.88M formatting which is unreliable.  Fix its IDAM/DAM
  gap size on formatting too (but that's not what's making it
  unreliable)

- test all the systems that were hit, and fix what needs to be fixed.
  Beware that multiple problems may happen:
  - upd765 may be wrong
  - the driver may not be working
  - the hookup may be wrong/incomplete (bitrate selection and floppy
    rpm in particular)
  - the driver may be too limited for the new implementation (the x68k
    dma device does not handle non-instant dma yet for instance)

- report invalid command when appropriate depending on the actual chip
  emulated

- add the russian clones with their real names
2012-10-10 15:33:51 +00:00
Curt Coder
fa09b1ba20 Added experimental support for using Berkeley PLA files as input to jedutil. [Curt Coder] 2012-10-10 15:18:42 +00:00
Olivier Galibert
6752a99aea floppy: Harmless intermediate commit that could help Micko (nw) 2012-08-24 22:22:41 +00:00
smf-
7d05c64b36 removed gzio.o as it doesn't exist 2012-07-26 19:47:59 +00:00
Miodrag Milanovic
f7a125b8ea Sync with MESS (no whatsnew) 2012-07-07 07:38:07 +00:00
Miodrag Milanovic
f1e3bf44a7 Sync with MESS (no whatsnew) 2012-06-18 06:23:28 +00:00
R. Belmont
42b219e6d0 Mirroring changes from MESS (nw) 2012-05-27 21:03:38 +00:00