summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool/filtbas.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-141-12/+12
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* fix dragondos Disk BASIC tokens tim lindner2021-01-041-23/+32
|
* IMGTOOL: Added Dragon DOS module [tlindner] tim lindner2020-05-171-11/+18
|
* use C++ library includes (nw) firewave2020-01-221-3/+3
|
* Add BASIC Thomson tokenizer (#5479) hadess2019-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Imgtool] Add write support for Thomson BASIC * [Imgtool] Fix passing --filter= to imgtool get command This command should work: imgtool get thom_fd inondation-d-additions.fd INONDATI.BAS TEST.BAS --filter=thombas7 as it matches the expected syntax: Usage: imgtool get <format> <imagename> <filename> [newname] [--filter=filter] [--fork=fork] but does not because imgtool fewer "maxargs". Increase the maximum number of arguments by 2 to cater for --filter and --fork being passed. * [Imgtool] Fix handling multiple tokens in BASIC tokenizer The line: 10 LIMIT$=STR$(LIMIT(N)) was not getting tokenised properly because the loop looking for tokens wasn't exited and consumed consecutive tokens. So $ was getting detected, token_shift and token_value were set, the cursor position got incremented, then = got detected on the next iteration of the loop. We should instead exit the loop, and write what we already have. Closes: #5478
* (nw) Clean up the mess on master Vas Crabb2019-03-261-0/+2
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
* Revert "conflict resolution (nw)" andreasnaive2019-03-251-2/+0
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* fix for filtbas when strings left unterminated in basic lines tomctomc2019-03-151-0/+2
|
* fixed some Coverity "Identical code for different branches" warnings (#3094) Oliver Stöneberg2018-01-261-2/+2
| | | | | | | | | | * tools/imgtool/filtbas.cpp: fixed Coverity "Identical code for different branches" warning (nw) * mame/video/decbac.cpp: fixed Coverity "Identical code for different branches" warnings (nw) * Revert "mame/video/decbac.cpp: fixed Coverity "Identical code for different branches" warnings (nw)" This reverts commit bdc1761996b8ead3ee7b0233a41ad0eff6f58311.
* Fix CID 157540: "Missing comma" resulting in unintentional string concatenation Peter Bortas2017-03-271-1/+1
|
* Merge pull request #1543 from npwoods/imgtool_stream_open_smartpointer Vas Crabb2016-10-241-25/+8
|\ | | | | | | [Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr
| * [Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr Nathan Woods2016-10-221-25/+8
| | | | | | | | Updated quite a bit of client code that manually owned these pointers
* | TRUE/FALSE in tools section (nw) Miodrag Milanovic2016-10-221-8/+8
|/
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-21/+21
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* [Imgtool] Bulk change: 'imgtool::partition *' ==> 'imgtool::partition &' Nathan Woods2016-10-161-12/+12
|
* [Imgtool] Changed many 'imgtool::stream *' to 'imgtool::stream &' Nathan Woods2016-10-141-17/+17
|
* [Imgtool] More C++-ification (imgtool_stream ==> imgtool::stream) Nathan Woods2016-10-121-37/+37
| | | | Still a bit of work to do, most notably around adoption of std::unique_ptr<>, which may be a challenge here on account of some assumptions regarding lifetime of streams by modules.
* [Imgtool] C++-ified a few more classes Nathan Woods2016-10-091-12/+12
| | | | | imgtool_partition ==> imgtool::partition imgtool_directory ==> imgtool::directory
* Fix up imgtool as well Vas Crabb2016-07-081-5/+5
|
* clang-modernize part 5 Miodrag Milanovic2015-12-041-44/+44
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+3115