Commit Graph

39 Commits

Author SHA1 Message Date
Kelvin Sherlock 7dbaf4e12d Add back floppy bitmask since floppy order depends on slot order. 2024-02-02 21:06:07 -05:00
Kelvin Sherlock 6ce2fbc2d8 Updates to enable more machines, currently only in Ample Lite. 2023-12-02 16:10:40 -05:00
Kelvin Sherlock d84c5d7be3 Update for MAME 0.256, add Apple II ROM custom rom support. 2023-06-28 14:59:15 -04:00
Kelvin Sherlock 0616991a1b - Move bookmarks and disk images to core data
- bookmark edit window
- rom window now shows machine description, tooltip is name
- fix split floppy logic to work with a2superdrive
- fix software list loading from default
- mame 241 machine updates
2022-02-23 20:59:05 -05:00
Kelvin Sherlock 70f4738264 add midi input/output menu. 2021-08-07 15:12:45 -04:00
Kelvin Sherlock fa64005345 disable the midi in / midi out for now since it's more complicated than I expected. 2021-07-23 21:30:16 -04:00
Kelvin Sherlock b58a859398 set the category index to -1 when category not in use. 2021-07-14 19:40:40 -04:00
Kelvin Sherlock 82a73ef79c midiin, midiout, and picture support. 2021-07-10 23:33:20 -04:00
Kelvin Sherlock 0d4a08113b media view - store the category in the path control to better identify if it's a disk image. 2021-07-10 12:07:01 -04:00
Kelvin Sherlock 053b9d84db remove logging, add begin/end updates 2021-07-10 11:25:25 -04:00
Kelvin Sherlock c7d0a2aecb animate out out the entire category when it's completely invalidated. 2021-07-10 01:45:03 -04:00
Kelvin Sherlock 5a098b9d00 double-clicking a recent disk image will try to put it in an appropriate location.
if the media class doesn't exist (eg, hard drive with no hard drive controller) it's added but not displayed.
2021-07-10 01:15:34 -04:00
Kelvin Sherlock 4144a6ad03 switch media bookmark to use a keyed dictionary instead of an array.
An array is fragile in terms of future proofing if I want to re-arrange the layout.
2021-06-13 21:31:56 -04:00
Kelvin Sherlock 7abb2f68a0 use string instead of url for bitbanger slots. 2021-06-13 16:29:16 -04:00
Kelvin Sherlock 4c003007f5 bitbanger support for media.
it still needs work to allow sockets and opt-out of disk image drag-and-drop.
2021-06-13 12:29:23 -04:00
Kelvin Sherlock a5a6222c9f use bindings for media table views 2021-06-13 12:26:56 -04:00
Kelvin Sherlock 058da073ee move reset slots button to a menu, add options to reset slots, media, machine, or everything. 2021-06-12 22:59:19 -04:00
Kelvin Sherlock 3d5a2951bb Squashed commit of the following:
commit 78c81626670fdf41fa6bdd71a4243a89a0746615
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Jun 7 00:33:48 2021 -0400

    check if software set has a particular entry.

commit ef5ab6b6948dc3bbbe2947ea099fcacd08435e86
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 22:20:34 2021 -0400

    fix scroller background on recent disk images window.

commit dee56fa50e87299b396b48361bd0a780aaaaa768
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 21:26:23 2021 -0400

    update cheat sheet javascript to work with 10.11
    * => functions not supported
    * NodeList.prototype.forEach not supported.

commit b00cc05413f4ebd6d6d58f96e24303008608f3a6
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 17:10:41 2021 -0400

    default full machine name for bookmark entry.

commit a671cafdc98051b56b12cdd3ccd13c22f54f605a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 15:39:32 2021 -0400

    loading a bookmark wasn't updating the media.

commit 3000e0eb1b10bede3345aaab8478e9ec209f328c
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 15:38:53 2021 -0400

    bump copyright year.

commit 45222dacd4aa0047fae63a9112509de57139df63
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 13:38:23 2021 -0400

    add reset w/ value for setting the item explicitely.

commit cc7fde1253b71c4d8655eb4c010bbf4e61333a15
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jun 6 13:37:48 2021 -0400

    add checkboxes for bitbanger/share directory.

    The general idea is it's easier to toggle a checkbox than to type/retype a path.

commit 5674b2d7f6b0e2f0b973197bf3493ad61bf46428
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 19:11:43 2021 -0400

    commentary on searches with diacritics.

commit ec60634dcd9c573130dc34673b4d3fe597ea2b42
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 19:11:22 2021 -0400

    clean up auto-complete a little bit when setting a value directly.

commit 1a182bbdab237c89d355d8294b5a4a64b785783a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 13:08:29 2021 -0400

    fix text color when value is set.

    There are still some bugs relating to multiple copies of the value being stored.

commit 49c0bc15c73446259d8cc151cf52d6058644db76
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 12:09:44 2021 -0400

    reset all controls first.

commit 059797ad85b057e296cc707b4645f839bfccac13
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jun 5 10:52:06 2021 -0400

    more bookmark loading.

commit e5a612d9f8e7414dd15c66dbaa540b637765eeec
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 23:52:38 2021 -0400

    bookmark - restore the software

commit f9411a1e84df7bd46e352cc5ca995b585c2a0523
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 23:52:25 2021 -0400

    clean up software / name logic.

commit f628d99e4a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 00:21:08 2021 -0400

    load bookmark...

commit 0b248e6aad
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jun 4 00:20:42 2021 -0400

    stringValue can't be nil.

commit 94aac38af4
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:04:37 2021 -0400

    add bookmark menu

commit 6215a0df12
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:03:29 2021 -0400

    slot view needs to know the machine.

commit d348c15dc5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:02:58 2021 -0400

    transformer to enable/disable control based on string length.

commit e14336a009
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:02:14 2021 -0400

    shut up compiler warning.

commit 4baf545245
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Thu Jun 3 23:01:15 2021 -0400

    bookmark manager

commit 0f3e6c8307
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon May 31 23:54:29 2021 -0400

    more (untested) bookmark code

commit 8fdb149eb3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon May 31 16:13:43 2021 -0400

    start of bookmarking support. Untested.

commit 787eac87f6
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon May 31 16:12:45 2021 -0400

    shut up warnings about content clipping.
    maybe it's a 10.11 thing.  The size was chosen by interface builder.
2021-06-07 00:34:26 -04:00
Kelvin Sherlock 1b7faf3ac4 Updates to work with 10.11 (El Capitan) and newer.
There are still a couple minor UI degradations

eg: mame cheat sheet, recent disk images window, auto complete window.

Squashed commit of the following:

commit fb115024f805da38b747fd1905573fabb7bff24e
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 18:00:13 2021 -0400

    ?

commit 8405f4df95ae8f5bc5dc33598dc0b3f8972b32cd
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 17:59:43 2021 -0400

    tintColor not present before 10.14

commit 86a6102cee4f30cac2972259ef55fda3c32b8f9a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 17:59:19 2021 -0400

    [menu setItemArray:] apparently has problems before 10.14

commit 65227a00743fbf143c623af8a76698d57bdc4573
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 17:58:15 2021 -0400

    NSCache doesn't like null objects.

commit 8a4c3a4662647d5ee0b609bde9f3aaa5c0d99776
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 16:00:05 2021 -0400

    organize copy bundle resources.

    multiple-sized png images are converted to a single tiff (with multiple sizes).
    This is fine BUT EL capitan grabs the first image so if the @3x image is first, it will be used.

commit 44b94cdfd47117864b6529214b1c91a0c2e41327
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 15:57:37 2021 -0400

    add NewSlotViewController.m to Ample Lite.

commit 2fa1b7418783e48ca625ab3490e43cbff9e5619a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 13:57:19 2021 -0400

    Ample Lite was missing reference to New Slot View nib.

commit 65f268e77a65f8c57019702d8f0c2b66577c5ee7
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 13:56:04 2021 -0400

    based on testing, 10.11 still has public.file-url, which is kUTTypeFileURL.  10.13 added NSURLPBoardType as a synonym.

commit cde123b16eb336b7695b444931b9e9bb9802d772
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun May 30 13:54:02 2021 -0400

    set everything to 10.11

commit e7a670efd3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat May 29 23:33:31 2021 -0400

    script to download SDL2.Framework

commit 9f38f2972a
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat May 29 22:15:32 2021 -0400

    WKWebView apparently has a bug prior to 10.12 so it can't be created via a nib.

commit e18aea7249
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat May 29 22:14:38 2021 -0400

    version checks for features not present in 10.11

commit 07dcf30f52
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri May 28 21:30:53 2021 -0400

    lower target to 10.11
2021-05-30 18:00:34 -04:00
Kelvin Sherlock 48cdd702be pop up for child slots. 2021-03-12 19:58:12 -05:00
Kelvin Sherlock 328ab815fb Squashed commit of the following:
commit a91a858d68c845f74db106dd21a800c4d09e6e38
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Mar 7 22:49:42 2021 -0500

    listxml utility.

commit e52576797da2609e700a12d1ffd7c78e8f1c2b23
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Mar 7 22:34:00 2021 -0500

    update media to use a structure instead of passing around dictionaries.

commit 9277a0f720091c386812ac5f84d96080fe6e14f3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Mar 7 20:13:27 2021 -0500

    media is working again.

commit 7c0ac9a973df85fdcdaa978f80905cb9e8532ea5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Mar 7 18:46:38 2021 -0500

    use new slot objects [WIP]

commit 005e2f14d37e7b83ac4ab3e60e7fb794ac8ed651
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Mar 7 17:33:59 2021 -0500

    new slot code to make sub options easier.

commit d7f3d9ef75367fad15081789a33212b7cf928fb3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Mar 7 17:33:13 2021 -0500

    String Interning...
2021-03-08 18:59:02 -05:00
Kelvin Sherlock 3a03b2180a MAX_SLOTS -> SLOT_COUNT 2021-01-18 15:46:07 -05:00
Kelvin Sherlock 0c7c9e9d1b support for nubus mac pseudo disk images 2021-01-18 15:32:22 -05:00
Kelvin Sherlock a3f96076f5 Dark mode - replace redColor w/ systemRedColor
also replaced blackColor w/ nil.
2020-10-04 11:47:50 -04:00
Kelvin Sherlock 4425fe33f8 bind the media eject button.
contentTintColor is not exposed in interface builder, otherwise it could
all be handled there.
2020-09-27 22:06:03 -04:00
Kelvin Sherlock 0d88e3e93a put all recent disk image logic in the recent disk image window controller. 2020-09-15 21:39:14 -04:00
Kelvin Sherlock 4ca9d2caaf fix casette spelling 2020-09-15 18:03:05 -04:00
Kelvin Sherlock 376f808d29 disk images window [WIP].
uses bound nsarray controller.
2020-09-14 21:03:09 -04:00
Kelvin Sherlock 8362692523 use some pretty animations when drag/dropping media. 2020-09-12 19:24:32 -04:00
Kelvin Sherlock 531cee122b Eject Button class. switches to the alt image when hovering. 2020-09-07 14:30:31 -04:00
Kelvin Sherlock e9fff9aa08 added some artwork for the drag indicator and the eject buttons. 2020-09-06 20:12:21 -04:00
Kelvin Sherlock f45db5383d only show the media drag handle when moused over. 2020-09-06 11:25:59 -04:00
Kelvin Sherlock f2b08c45a3 clean up item moves a bit.
also switch media to be a mutable array (which it secretly was) and
modify in-place to be cleaner.
2020-09-06 00:31:09 -04:00
Kelvin Sherlock 3cdae0e386 finish up drag-n-drop 2020-09-05 23:58:03 -04:00
Kelvin Sherlock 9eb3727e1e drag-n-drop disk image re-ordering. WIP. 2020-09-05 23:29:30 -04:00
Kelvin Sherlock 3c77f0a309 media view - only enable eject button when there's something to eject. 2020-09-04 23:39:10 -04:00
Kelvin Sherlock 69023c4af3 tweak layout sizes a bit. 2020-09-04 19:22:18 -04:00
Kelvin Sherlock aa808aea31 commentary 2020-08-29 23:31:54 -04:00
Kelvin Sherlock 28e36047a5 rename to Ample. 2020-08-29 23:31:51 -04:00