Commit Graph

30 Commits

Author SHA1 Message Date
Olivier Galibert
278cf84e55 Replace dynamic_array with std::vector [O. Galibert] 2015-04-14 19:58:17 +02:00
Curt Coder
5330751a3d (MESS) c8050fdc: Gap adjustment and SFD-1001 is single drive only. (nw) 2015-04-13 09:07:12 +03:00
Curt Coder
a43d6473de (MESS) pet: Refactored the Commodore 8050/8250/SFD-1001 to use the new floppy system. [Curt Coder] 2015-04-10 10:20:26 +03:00
Oliver Stöneberg
151070e970 replaced off_st usage in src/lib/formats with UINT32 to reduce libemu dependencies (nw) 2015-03-20 19:08:03 +01:00
Oliver Stöneberg
0bdcbac42e cleaned up emu.h usage in src/lib/formats (nw) 2015-03-20 14:09:50 +01:00
Oliver Stöneberg
2320947534 replaced a few more exit() calls with fatalerror() (nw) 2014-09-10 17:46:04 +00:00
Miodrag Milanovic
fec65e0b57 Cleanups and version bump 2014-04-07 06:04:18 +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
Curt Coder
8dd7482652 (MESS) c64: Floppy WIP. (nw) 2014-02-12 22:05:12 +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
Curt Coder
88cb180618 (MESS) d64_dsk: Fixed memory leak. (nw) 2014-01-24 10:16:53 +00:00
Curt Coder
e49e89bebd (MESS) d64_dsk: Fixed number of tracks. (nw) 2014-01-15 15:21:22 +00:00
Curt Coder
846c70bee9 License tags. (nw) 2013-10-16 13:38:21 +00:00
Aaron Giles
71fbb5edc2 Added license tags to a few more files. Also converted many of OG's
BSD licenses to tags since when he copied & pasted them he forgot to
remove one instance of my name, which I caught while searching. ;-)
2013-10-16 09:38:09 +00:00
Curt Coder
a2381079c4 (MESS) c128: Added support for double-sided Commodore GCR images to be used with the 1571 disk drive. Images can be created with e.g. "copy /b side0.g64+side1.g64 disk.g71" [Curt Coder] 2013-09-16 19:00:45 +00:00
smf-
2e9622ecdb Fixes for building MAME with Visual Studio 2013 preview [smf] 2013-07-05 00:45:14 +00:00
Miodrag Milanovic
a440a8e020 Cleanups and version bump 2013-02-11 07:44:56 +00:00
Curt Coder
ffe3325258 (MESS) d64/g64 floppy modernization WIP. (nw) 2013-01-17 15:32:52 +00:00
Curt Coder
4c924e2a63 (MESS) Fixed typos. (nw) 2013-01-14 18:27:19 +00:00
Curt Coder
cf41f05d4b (MESS) flopimg: Added support for Commodore GCR encoding. [Curt Coder]
(MESS) d64/g64 floppy modernization WIP. (nw)
2013-01-14 16:27:52 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Oliver Stöneberg
670a36cbcd fixed some cppcheck warnings about format identifiers and duplicated enum (nw) 2013-01-06 19:14:29 +00:00
Curt Coder
a18efa439f (MESS) Disabled logging. (nw) 2012-09-08 09:55:33 +00:00
Curt Coder
b8a58c4cee (MESS) c128: Added missing IEC bus. (nw) 2012-09-08 09:54:51 +00:00
Miodrag Milanovic
a703b654ab Sync with MESS (nw) 2012-08-17 08:15:05 +00:00
Curt Coder
71ca94b025 Sync with MESS. (nw) 2012-08-12 20:44:51 +00:00
Miodrag Milanovic
36d6084f93 d64_dsk - import from MESS (no whatsnew) 2011-08-19 13:44:22 +00:00
Miodrag Milanovic
70c76783e2 floppy_image to floppy_image_legacy rename (no whatsnew) 2011-07-20 09:35:15 +00:00
Miodrag Milanovic
f7d01e8bf5 Fix issues with define of logerror (no whatsnew) 2011-05-07 10:57:23 +00:00
Miodrag Milanovic
62d841c270 Moved format handling and all formats to separate library [Miodrag Milanovic] 2011-05-06 19:42:26 +00:00