Debian Codegraph @

DOC/ChangeLog

raw
1 *** With Atari800 hosted by Github we rely on the git commit messages now
2 *** so for detailed changelog please clone git repository and use git log
3 *** or visit https://github.com/atari800/atari800/commits/master
4
5
6 2018-07-07 Tomasz Krasuski <[email protected]>
7 * monitor.c: Fixed building --without-video.
8
9
10 2018-07-04 Tomasz Krasuski <[email protected]>
11 * android/res/values/strings.xml, android/src/FileSelector.java,
12 android/src/MainActivity.java: Allow running the emulator without setting
13 system ROM path - Altirra ROMs are available. Updated the first-run message to
14 reflect that.
15 * android/jni/androidinput.c, android/src/A800view.java: Fixed a bug when the
16 "Right-Handed Joystick" option is enabled: a one-finger touch on the screen's
17 left side did not register as a trigger press.
18
19
20 2018-07-01 Tomasz Krasuski <[email protected]>
21 * android/jni/graphics.[ch]: Fixed an issue with labels of the console keys
22 being unreadable on high-resolution displays. They are now scaled to screen
23 resolution.
24 * android/jni/androidinput.c: Fixed a bug in computing coordinates of console
25 key presses, which could result in a different key being pressed than
26 expected.
27 Moved variables to reduce their scope, for better readability.
28
29
30 2018-06-22 Tomasz Krasuski <[email protected]>
31 * DOC/NEWS: Added an entry about addition of DOC/BUILD.windows.
32 * DOC/NEWS, DOC/TODO, DOC/USAGE, .cvsignore, Makefile.in,
33 android/jni/Android.mk.in, atari.[ch], atari800.man, configure.ac,
34 dc/Mahefile.dc, devices.c, emuos.*, esc.c, memory.c,
35 roms/altirra_5200_os.[ch], win32/msc/Makefile: Removed EmuOS.
36
37
38 2018-06-10 Tomasz Krasuski <[email protected]>
39 * DOC/BUILD.windows, DOC/INSTALL: Extracted Windows-specific instructions
40 to a separate document. Added instructions on building with MSYS2.
41
42
43 2018-06-05 Tomasz Krasuski <[email protected]>
44 * android/jni/androidinput.[ch], android/jni/graphics.c, android/jni/jni.c,
45 android/jni/platform.c, android/jni/sound.c: Fixed
46 -Wimplicit-function-declaration warnings.
47 * android/jni/androidinput.[ch]: Fixed -Wimplicit-int, -Wunused-comparison,
48 -Wbitwise-op-parentheses, -Wtautological-constant-out-of-range-compare and
49 -Wparentheses warnings.
50 * android/jni/androidinput.c, android/jni/graphics.c: Fixed -Wswitch warnings.
51 * android/jni/androidinput.c, android/jni/jni.c: Fixed -Wdangling-else warnings.
52 * android/jni/jni.c: Fixed -Wpointer-sign and -Wreturn-type warnings.
53 * android/jni/keys.inc: Disabled many -Winitializer-overrides warnings.
54 * atari.c: Fixed a -Wtautological-constant-out-of-range-compare warning.
55 * ui.c: Fixed a -Wformat-truncation warning.
56 * monitor.c: Fixed a -Wformat warning.
57 * dos/vga_gfx.c, img_tape.c: Fixed -Wstringop-truncation warnings.
58 * ide.c: Fixed a -Wmultistatement-macros warning.
59 * antic.c, configure.ac: Fixed -Wpointer-to-int-cast warnings.
60 * Makefile.in: Disable an unavoidable -Wpedantic warning in dos/dos_sb.c.
61 Add the src/roms/ directory to make clean.
62 * devices.c: struct stat.st_time and time_t may have different size on some
63 platforms.
64
65
66 2018-06-02 Tomasz Krasuski <[email protected]>
67 * cassette.c, devices.c, esc.c, sio.c: Added support for SIO patches in
68 AltirraOS 800/XL.
69 * android/jni/jni.c: Allow running "Atari OS/B" machine types with AltirraOS
70 when no real rev. B ROMs are available.
71
72
73 2018-06-01 Tomasz Krasuski <[email protected]>
74 * atari800.man: Fixed an error in description of -800-rev.
75 * DOC/NEWS, DOC/USAGE, atari.[ch], atari800.man, configure.ac, emuos.h,
76 emuos_altirra.c, esc.c, memory.c, roms/altirra_5200_os.[ch],
77 roms/altirra_basic.[ch], roms/altirraos_800.[ch], roms/altirraos_xl.[ch],
78 sysrom.[ch], ui.c: Reverted support for Altirra OS and redid it from scratch -
79 the AltirraOS version added previously was the 400/800 variant, but it was
80 used in both 400/800 and XL/XE modes.
81 Added support for AltirraOS 400/800, AltirraOS XL, Altirra 5200 BIOS and
82 Altirra BASIC.
83 Added options for Altirra OSes and BASIC in the "System settings" menu.
84 SIO patches are not yet supported in Altirra OSes.
85 * DOC/CREDITS: Added credit to Avery Lee for his Altirra ROMs.
86
87
88 2018-05-29 Tomasz Krasuski <[email protected]>
89 * DOC/README.android: More detailed build instructions.
90
91
92 2018-05-27 Tomasz Krasuski <[email protected]>
93 * monitor.c: Fixed building with --disable-monitorhints.
94 * configure.ac, monitor.c: TIOCGWINSZ may require including termios.h on some
95 platforms (e.g. Android) - added autodetection of such case.
96 * DOC/NEWS, src/android/jni/Android.mk.in: Fixed building of Android port -
97 emous is now an optional module.
98 * .gitignore - Added files to ignore from the Android port.
99
100
101 2018-05-01 Petr Stehlik <[email protected]>
102 * implemented joyhat support for all four real joysticks (command line,
103 configuration file and also the F1 TUI configuration). Original patch
104 from Michal "Baktra" Kalous, with my fixes and clean up.
105
106 * DOC/NEWS: updated with new platform specific bits for the 4.0.0 release
107
108
109 2018-04-26 Petr Stehlik <[email protected]>
110 * TravisCI scripts from Thorsten Otto added
111
112
113 ** 4.0.0 released on 2018-04-21
114
115 2018-04-21 Petr Stehlik <[email protected]>
116 * src/monitor.c: fixed printf() GCC warnings
117 * src/mzpokeysnd.c: silence generates 0000 in the physical sound output
118 now. Originally it was generating a large negative value that was causing
119 an annoying humming sound in certain high-end sound systems.
120 * DOC/*: updated for new project web: atari800.github.io
121 * src/sound.c: "-volume" parsing fixed
122 * src/atari800.man: "-volume" documented
123
124
125 2017-06-25 Tomasz Krasuski <[email protected]>
126 * DOC/NEWS, DOC/USAGE, android/jni/jni.c, atari800.man, cartridge.[ch], ui.c:
127 Original Atrax cartridges have address and data lines intermixed. The
128 existing CART Type 17: Atrax 128 KB cartridge was therefore not a type of
129 real cartridge, not usable for actual Atrax ROM dumps. I've renamed it to
130 "Decoded Atrax 128 KB cartridge" and added new "Type 68: Atrax 128 KB
131 cartridge" that supports real Atrax ROM dumps.
132
133
134 2016-10-08 Tomasz Krasuski <[email protected]>
135 * debian/compat, debian/changelog, debian/control, debian/rules,
136 debian/source/format: Updates from the official Debian package.
137
138
139 2016-10-07 Tomasz Krasuski <[email protected]>
140 * sdl/input.c: Fix segfault when using -nojoystick. Fix improper use of
141 SDL_PollEvent - caused keyboard input lag when moving a mouse or joystick.
142
143
144 2015-11-12 Tomasz Krasuski <[email protected]>
145 * pia.c: Fix convoluted "if" condition.
146
147
148 2015-10-13 Tomasz Krasuski <[email protected]>
149 * sio.c: Suggested by Avery Lee: Fix SIO error codes with SIO patch enabled.
150 This bug tripped up the original Sikor Soft's Ketchup disk, that relied on
151 attempting to read disk sector 720, which should return error 144 instead of
152 146.
153
154
155 2015-09-23 Tomasz Krasuski <[email protected]>
156 * cassette.[ch], pia.c, screen.c, sio.[ch]: Some tapes try to read from disk
157 while the tape motor is on (case in point: Cubbyholes (APX)). This was not
158 emulated correctly - when a disk read was attempted while tape motor was on,
159 the value of the sio.c->TransferStatus variable would never revert to
160 SIO_CasReadWrite, and the tape loading would not continue. This is now
161 fixed. As a consequence, tape emulation ceased to use the variables
162 SIO_last_op, SIO_last_op_time and SIO_last_drive, so the related code in
163 screen.c and pia.c has been updated with that in mind.
164
165
166 2015-08-26 Tomasz Krasuski <[email protected]>
167 * atari.c: Avoid segfault on switching TV system while sound is disabled.
168
169
170 2015-07-23 Christian Groessler <[email protected]>
171 * dc/Makefile.dc, dc/atari_dc.c, dc/config.h, dc/displayscreen.S:
172 Rewrite of the screen update routines. DIRTYRECT isn't used
173 anymore. Now always the whole screen is updated. The new routines
174 use the Dreamcast processor's "store queue" which results in a
175 decent speed-up. The time spent updating the screen is now constant,
176 regardless of the screen changes. With little changes to the screen
177 more time is spent in the screen update routines, compared to
178 DIRTYRECT. But for the worst case (whole screen dirty) it's faster
179 than with DIRTYRECT. Boulder Dash in NTSC mode now doesn't jitter
180 when scrolling.
181 Add another option in Makefile.dc to use OCRAM (fast on-processor
182 RAM, cutting the data cache size in half) for the palette data. This
183 option is disabled for now since I didn't notice any difference in
184 emulation speed with it. Maybe if more "hot" variables are moved
185 into OCRAM it could make a difference.
186 * dc/shlelf-ocram.xc: New File. Linker script to be used when using
187 the OCRAM option.
188
189
190 2015-06-06 Tomasz Krasuski <[email protected]>
191 * binload.c: Achim Haertel's patch fixes emulation crash when slow loading of
192 DOS binary files is turned off during such loading.
193 * ui.c, DOC/USAGE: Rename "Slow loading of XEX" to "Slow booting of DOS binary
194 files" - XEX is just one of the possible extensions of such files.
195
196
197 2015-06-02 Petr Stehlik <[email protected]>
198 * sdl/input.c: preliminary support for four real joysticks
199
200
201 2015-05-29 Tomasz Krasuski <[email protected]>
202 * binload.[ch], cfg.c, ui.c, DOC/CREDITS: Achim Haertel's patch
203 adds an option to slow down the loading of DOS binary files ran using "Run
204 Atari Program".
205 * atari_curses.c, atari_falcon.c, atari_x11.c, amiga/amiga.c, javanvm/input.c,
206 sdl/input.c, win32/atari_win32.c, DOC/USAGE: Map F7 to temporarily stop slow
207 loading of DOS binary files, in addition to its standard "Break" key mapping.
208
209
210 2015-05-27 Christian Groessler <[email protected]>
211 * antic.c, cartridge.c, ide.c, input.c: Remove warnings when compiling
212 on FreeBSD/i386 10.1 with llvm.
213
214
215 2015-05-10 Christian Groessler <[email protected]>
216 * atari_x11.c (PLATFORM_Initialise): Preinitialize image_data buffer to
217 shut off valgrind warnings.
218 * devices.c: Fix for bug #43: Prevent double close of entry in h_fp[]
219 array.
220
221
222 2015-04-28 Tomasz Krasuski <[email protected]>
223 * antic.c: Fix an infinite recursion with enabled NEW_CYCLE_EXACT, disabled
224 PAGED_ATTRIB, when the ANTIC display list is pointed to GTIA registers. The
225 recursion was: ANTIC_UpdateScanline -> draw_partial_scanline -> antic_load ->
226 MEMORY_CopyFromMem -> MEMORY_GetByte -> MEMORY_HwGetByte -> GTIA_GetByte ->
227 ANTIC_UpdateScanline.
228 Test case: Sky Writer XEX (length 16827, CRC32 9e0fd2e7) running in 400/800
229 mode.
230
231
232 2015-04-27 Christian Groessler <[email protected]>
233 * dc/atari_dc.c: Remove obsolete comments.
234 * dc/version.h: Set A800DCBETA to 2 (2nd beta version).
235 * DOC/TESTS.dc: New file. Lists tests which should be run before a new
236 Atari800DC release.
237 * DOC/README.dc: Update.
238 * DOC/CHANGES.dc: Update for Atari800DC 0.79beta2 release.
239
240
241 2015-04-24 Christian Groessler <[email protected]>
242 * dc/atari_dc.c: Parse "DOUBLE_BUFFERING" from atari800.cfg, setting the 'db_mode'
243 variable. Some other small cleanups.
244 * dc/atari800.cfg: Add "DOUBLE_BUFFERING" entry.
245
246
247 2015-04-16 Christian Groessler <[email protected]>
248 * dc/atari_dc.c: Adapt controller and keyboard detection to new KOS version.
249
250
251 2015-04-11 Tomasz Krasuski <[email protected]>
252 * ui.c: Fix a bad cast that resulted in crash when changing display resolution.
253 * artifact.c: Remove an invalid cast.
254
255
256 2015-04-08 Christian Groessler <[email protected]>
257 * sdl/input.c: Fix auto-repeat in emulator menu when using on-screen
258 keyboard emulation.
259
260
261 2015-04-08 Christian Groessler <[email protected]>
262 * dc/atari_dc.c: Fix paddle emulation (adapt to new KOS return values).
263 Add PLATFORM_Configure() to parse DISPLAY_X_ADJUST and
264 DISPLAY_Y_ADJUST. Remove warnings and some unused code.
265 * dc/config.h: Add SUPPORTS_PLATFORM_CONFIGURE.
266 * dc/atari800.cfg: Recreated with new emulator version.
267
268
269 2015-04-01 Christian Groessler <[email protected]>
270 * sound_oss.c: Fix sound device name for NetBSD and OpenBSD.
271
272
273 2015-03-31 Christian Groessler <[email protected]>
274 * dc/atari_dc.c: Fix crash when disconnecting the controller while being
275 in the emulator menu. Fix inaccessibility of controller when
276 disconnecting and reconnecting to a different port while being in the
277 keyboard emulation menu.
278
279
280 2015-03-28 Tomasz Krasuski <[email protected]>
281 * configure.ac: Fix displaying --enable-nonlinear_mixing twice on
282 ./configure --help. NONLINEAR_MIXING now defaults to enabled on all targets.
283
284
285 2015-03-28 Christian Groessler <[email protected]>
286 * ui.c, ui_basic.c: Adapt emulator menu to Dreamcast and
287 add DC specific menu items.
288 * dc/atari_dc.c: Ditto. And fix swapped up/down direction when using the
289 controller joystick.
290
291
292 2015-03-27 Christian Groessler <[email protected]>
293 * dc/atari_dc.c (controller_kb): Fix auto-repeat in emulator menu.
294
295
296 2015-03-23 Christian Groessler <[email protected]>
297 * dc/atari_dc.c: The overridden console keys were never released, except
298 for START.
299
300
301 2015-03-21 Perry McFarlane <[email protected]>
302 * gtia.c: Improve player/playfield collisions for NEW_CYCLE_EXACT
303
304
305 2015-03-21 Tomasz Krasuski <[email protected]>
306 * pokeysnd.[ch], DOC/NEWS: Fixed a crash with SYNCHRONIZED_SOUND, when enabling
307 stereo sound together with ENABLE_NEW_POKEY=0. Added comment to avoid future
308 mistakes.
309
310
311 2015-03-20 Christian Groessler <[email protected]>
312 * dc/atari_dc.c: Fix problem when trying to leave the on-screen keyboard
313 emulation menu when an override for the DC 'B' button is configured.
314 Some other unrelated code cleanups.
315
316
317 2015-03-19 Christian Groessler <[email protected]>
318 * dc/atari_dc.c: Don't inject a "START" button press when leaving the
319 on-screen keyboard.
320
321
322 2015-03-17 Perry McFarlane <[email protected]>
323 * antic.c, artifact.c, colours.c, img_tape.c, log.[ch], monitor.c, screen.c,
324 sio.c, ui.[ch], sdl/video.c, sdl/video_gl.c, sdl/video_sw.c, win32/sound.c:
325 Fix gcc warnings, allow compiling with g++.
326
327
328 2015-03-16 Perry McFarlane <[email protected]>
329 * pia.[ch], pokey.c, statesav.c: Fix PIA CA2/CB2 and irq. Bump
330 SAVE_VERSION_NUMBER to 8.
331
332
333 2015-03-14 Tomasz Krasuski <[email protected]>
334 * sio.c: With SIO patch enabled, replicate behaviour of the real SIO OS
335 routine. E.T. Phone Home! now works with SIO patch enabled.
336
337
338 2015-03-11 Perry McFarlane <[email protected]>
339 * cpu.c: Fix opcodes 93, 9b, 9c, 9e, 9f (sha ind_y, shs, shy, shx, sha) page
340 crossing behaviour.
341
342
343 2015-03-05 Christian Groessler <[email protected]>
344 * ui.c (AboutEmulator): Change copyright year to 2015.
345 * dc/version.h: Add a knob to switch "beta versions" on and off.
346 * dc/atari_dc.c: Update on-screen keyboard to current interface of
347 ui_basic.c.
348
349
350 2015-02-25 Christian Groessler <[email protected]>
351 * configure.ac: If a non-standard location for the X11 libraries was given
352 (--x-libraries parameter), add this location to the run-time search path.
353
354
355 2015-02-24 Perry McFarlane <[email protected]>
356 * bit3.c, DOC/NEWS: Invert bit3 cursor, add bit3 NEWS.
357
358
359 2015-02-24 Christian Groessler <[email protected]>
360 * atari_x11.c, configure.ac: Add support for palette update in X11 targets.
361 * gtia.c: Fix compilation of basic (no video) target.
362
363
364 2015-02-18 Tomasz Krasuski <[email protected]>
365 * DOC/NEWS, DOC/USAGE: Updated for new release.
366
367
368 2015-02-12 Petr Stehlik <[email protected]>
369 Committing fixes provided by Jools Wills in SF.net Bugs #41 and #42:
370 * configure.ac: native building on RPi fixed
371 * sdl/video.c: handle properly situation when any resolution is available
372
373
374 2015-02-12 Perry McFarlane <[email protected]>
375 * DOC/ChangeLog, DOC/TODO, DOC/USAGE, atari.c, cartridge.c, cfg.c,
376 configure.ac, pbi.c, ui.c, videomode.[ch], sdl/input.c, sdl/palette.c,
377 sdl/video.[ch], sdl/video_gl.c, sdl/video_sw.c, bit3.[ch]: Emulate the Bit3
378 Full View 80 column card for the Atari 800. Added more #ifdefs for AF80,
379 XEP80_EMULATION, PBI_PROTO80, and NTSC_FILTER.
380
381
382 2015-02-07 Tomasz Krasuski <[email protected]>
383 * cassette.c, img_tape.c: Minimal support for reading CAS "fsk " chunks, to
384 support some tape images of copy-protected original software, only with
385 unpatched SIO.
386
387
388 2015-01-24 Tomasz Krasuski <[email protected]>
389 * platform.h, sound_oss.c, sound.[ch], ui.c, dos/sound_dos.c, javanm/sound.c,
390 sdl/sound.c, atari800.man, DOC/USAGE: Improve usability: rename "Fragment
391 size" to "Hardware buffer size" and change the unit to milliseconds instead
392 of frames. Code for resizing the buffer to a power of 2 is now called in
393 platform-specific modules - the reason is not all sound backends require
394 such adjustment of the buffer length.
395
396
397 2015-01-10 Tomasz Krasuski <[email protected]>
398 * win32/msc/Makefile: Fixed incorrect file extensions.
399
400
401 2014-11-28 Tomasz Krasuski <[email protected]>
402 * colours_ntsc.c, atari_ntsc/atari_ntsc_impl.h: Fixed mathematics in the YIQ
403 computations - although the resulting colors were correct, the names of i
404 and q variables were swapped in the sources.
405
406 * colours_ntsc.c, colours_pal.c, colours.[ch], pal_blending.c, filter_ntsc.c,
407 atari_ntsc/atari_ntsc.c, DOC/NEWS: Fixed computation of gamma adjustment -
408 it is now applied to each of the three RGB channels separately.
409
410
411 2014-09-22 Kostas Nakos <[email protected]>
412
413 * android/* : Bugfix no sound when machine is NTSC, small bugfixes and
414 workarounds for OSL sound. Prepare for release.
415
416
417 2014-09-19 Kostas Nakos <[email protected]>
418 * configure.ac: Switch to android-9 environment for OpenSL ES support.
419
420 * android/*: Add OpenSL ES native sound support for post-2.3 devices. Gained
421 accurate sound playback. Added bindings for capstoggle & atari keys.
422
423
424 2014-09-16 Kostas Nakos <[email protected]>
425 * atari.c: Skip ROM file search as some android builds go in infinite loop
426 due to buggy platform implementation.
427
428 * configure.ac: Updated to newer android toolchain.
429
430 * android/*: Support for built-in Planetary Defense 2012 (courtesy and thanks
431 to Tom Hudson), miscellaneous fixes, update to newer android toolchain.
432
433
434 ** 3.1.0 released on 2014-04-12
435
436 2014-04-12 Petr Stehlik <[email protected]>
437 * DOC/ChangeLog, DOC/NEWS: updated for new release
438
439 * README.1ST, atari800.spec, DOC/README, atari.h, atari800.man, configure.ac,
440 util/export: version++
441
442
443 2014-04-05 Tomasz Krasuski <[email protected]>
444 * cfg.c, mxpokeysnd.[ch], pokeysnd.[ch], sound.c, ui.c, configure.ac: Moved the
445 SYNCHRONIZED_SOUND code made more generic and moved out of mzpokeysnd.c to
446 pokeysnd.c. Now synchronized sound is supported by both pokey sound engines.
447
448 * colours_pal.c: Minor formatting & constness fixes.
449
450
451 2014-03-03 Tomasz Krasuski <[email protected]>
452 * atari.c, atari_basic.c, atari_curses.c, atari_falcon.c, atari_ps2.c,
453 atari_x11.c, amiga/amiga.c, dos/atari_vga.c, sdl/main.c,
454 win32/atari_win32.c, win32/main.cpp, atari_wince.c Ensure that Sound_Exit()
455 is called after config file is saved-on-exit, by moving the call to
456 Sound_Exit() out of PLATFORM_Exit() and into Atari800_Exit(). Reason: When
457 SOUND_THIN_API is enabled, autosaving after Sound_Exit would cause the
458 config file's SOUND_ENABLED entry to always be written as 0.
459
460
461 2014-02-27 Tomasz Krasuski <[email protected]>
462 * sdl/init.c, sdl/main.c: Avoid "undefined reference to PLATFORM_Time" linker
463 error when configured --with-sound=sdl but --with-video != sdl.
464
465 * atari.c: Fixed a bug with keyboard input not working on --with-video=ncurses
466 --with-audio=oss. On initialisation, Sound_enabled == TRUE but audio output
467 is not yet initialised. In such situation calling
468 sound_oss.c->PLATFORM_SoundSetup() would close standard input, thus disabling
469 keyboard.
470
471
472 2014-02-19 Tomasz Krasuski <[email protected]>
473 * cartridge.[ch], ui.c, android/jni/jni.c, atari800.man, DOC/cart.txt,
474 DOC/USAGE, DOC/CREDITS: With Hias' help - documented behaviour of the XEGS
475 cartridges more precisely. Also added a different variant of the XEGS 64 KB
476 cartridge - both variants were manufactured by Atari.
477
478
479 2014-01-29 Tomasz Krasuski <[email protected]>
480 * cartridge.[ch], ui.c, android/jni/jni.c, atari800.man, DOC/cart.txt,
481 DOC/USAGE: Based on description by Hias, added minimal support for the 32
482 and 64 MB variants of The!Cart.
483
484 * DOC/cart.txt: Added column that describes state of emulation support of
485 the cartridge types. Also other fixes.
486
487
488 2014-01-26 Tomasz Krasuski <[email protected]>
489 * dos/dos_sb.c: Bring indentation more into line with the apparent standard.
490
491 * dos/sound_dos.c, dos/dos_sb.[ch], configure.ac: Apply SOUND_THIN_API to DOS
492 sound. Also fix two old bugs: pitch being wrong, and sound not working in
493 one-shot mode (DSP 1.xx).
494
495 * sound.c, ui.c: Move code that stores current sound settings in Sound_desired
496 - previously settings were stored only when changed from GUI, but not when
497 changed from command line params.
498
499
500 2014-01-18 Tomasz Krasuski <[email protected]>
501 * ui.c: Fix obvious mistake in System Settings, that lead to buffer overflow.
502
503 * cartridge.c, DOC/cart.txt, DOC/CREDITS: Fixes by Matthias Reichl for
504 emulation of The!Cart.
505
506
507 2013-12-28 Tomasz Krasuski <[email protected]>
508 * atari.c: Make turbo mode considerably faster, by avoiding pointless screen
509 redraws.
510
511 * sdl/sound.c, sound.c: Fix stereo sound on SDL and -sound/-nosound parameters,
512 broken when introducing SOUND_THIN_API.
513
514
515 2013-12-15 Tomasz Krasuski <[email protected]>
516 * atari.c, util.[ch]: Atari_time and Atari_sleep renamed to Util_* and moved to
517 util.c module - they are now used externally from atari.c.
518
519 * atari.c, cfg.c, platform.h, sound_oss.c, sound.[ch], ui.c,
520 javanvm/atari800.java, javanvm/javanvm.h, javanvm/sound.c, sdl/sound.c,
521 configure.ac, atari800.man, DOC/USAGE: Formerly SDL-specific support for
522 synchronized sound moved to new module sound.c and made platform-independent.
523 In effect, created a new thin API for platform-specific audio. Platforms that
524 support SOUND_THIN_API will have thinner layer of platform-specific sound
525 code and will support a common set of new functionality:
526 - ability to build with --enable-synchronized_sound,
527 - new UI Sound menu options for enabling/disabling sound, setting sample
528 rate, choosing 8- or 16-bit sound, setting hardwares ound buffer size, and
529 (with enabled synchronized_sound) setting sound latency,
530 - saving these new options in config, and setting them from command line
531 parameters.
532 Currently SOUND_THIN_API is implemented for SDL, JavaNVM and OSS sound.
533
534
535 2013-12-14 Tomasz Krasuski <[email protected]>
536 * javanvm/input.c: Map F12 to Turbo, as in other targets.
537
538
539 2013-12-08 Tomasz Krasuski <[email protected]>
540 * binload.c: When no OS patches were enabled, Running of BASIC files would
541 cause the emulated system to go sraight to Self Test: the calls to
542 Device_PatchOS() would enable E: patches, but wouldn't disable the OS memory
543 checks. Calling ESC_UpdatePatches() instead solves the issue.
544 * afile.c, atari.c, gtia.[ch]: Avoid sending Option and Start keystrokes to a
545 diagnostic cartridge when coldstarting.
546 * cartridge.[ch], ui.c, android/jni/jni.c, atari800.man, DOC/cart.txt,
547 DOC/USAGE: Added support for the 2 MB MegaCart mapping.
548
549
550 2013-12-07 Tomasz Krasuski <[email protected]>
551 * cartridge.[ch], atari800.man, DOC/cart.txt: Added support for a small subset
552 of The!Cart mapping.
553 * cartridge.[ch]: CARTRIDGE_kb is not modified anywhere, made it const.
554
555
556 2013-12-04 Tomasz Krasuski <[email protected]>
557 * cartridge.[ch], ui.c, android/jni/jni.c, atari800.man, DOC/cart.txt,
558 DOC/USAGE: Added read-only support for the 4 MB Flash MegaCart mapping.
559
560
561 2013-12-02 Tomasz Krasuski <[email protected]>
562 * cartridge.[ch], ui.c, android/jni/jni.c, atari800.man, DOC/cart.txt,
563 DOC/USAGE: Added support for the MegaMax 2 MB cartridge mapping. Developers
564 of The!Cart confirmed that the CART ID for the 64MB variant is not needed, so
565 I've reused it.
566
567
568 2013-11-23 Tomasz Krasuski <[email protected]>
569 * configure.ac, atari.c, platform.h, atari_ps2.c, sdl/main.c : Minimal cleanup
570 of platform-specific Sleep/Time routines.
571
572
573 2013-11-11 Tomasz Krasuski <[email protected]>
574 * monitor.c: Fixed & updated symbols based on OS & BASIC source listings.
575
576
577 2013-11-09 Tomasz Krasuski <[email protected]>
578 * DOC/cart.txt: By request of the developers of The!Cart, reserved two IDs
579 for this new cartridge type.
580
581
582 2013-05-02 Tomasz Krasuski <[email protected]>
583 * DOC/INSTALL: Update NestedVM build manual - it doesn't build with
584 --enable-ide.
585
586 * javanvm/atari_javanvm.c: Fix overflow of dsp_buffer - could happen on some
587 systems where JAVANVM_SoundAvailable sometimes returns value larger than
588 2*line_buffer_size.
589
590 * DOC/INSTALL, configure.ac, Makefile.in, javanvm/atari_javanvm.[ch],
591 javanvm/input.[ch], javanvm/javanvm.h, javanvm/main.c, javanvm/sound.c,
592 javanvm/video.[ch]: Code cleanup - split atari_javanvm.c to separate modules
593 for video, sound and input. Merge javanvm and javanvm-basic targets into the
594 default target - NestedVM host is now autodetected.
595
596
597 2013-04-28 Tomasz Krasuski <[email protected]>
598 * Makefile.in: Use printf instead of echo -e - more portable (and -e didn't
599 work on GNU Make 3.81).
600
601
602 2013-04-23 Tomasz Krasuski <[email protected]>
603 * artifact.[ch], atari.c, atari800.man, cfg.c, configure.ac,
604 pal_blending.[ch], ui.c, videomode.[ch], sdl/video_gl.c, sdl/video.sw.c,
605 sdl/video.c, DOC/USAGE, amiga/makefile, dc/Makefile.dc,
606 win32/msc/Makefile: New module, artifact.c, which manages settings of all
607 artifacting modes. Artifacting modes are now stored independently for PAL
608 and NTSC modes, and set according to the current TV mode setting.
609
610 * sdl/main.c, sdl/video.c: When in monitor, avoid reopening the SDL window
611 during stepping through code.
612
613
614 2013-04-15 Tomasz Krasuski <[email protected]>
615 * colours_pal.[ch], colours.[ch], configure.ac, pal_blending.[ch], platform.h,
616 ui.c, sdl/palette.[ch], sdl/video_gl.[ch], sdl/video_sw.[ch], sdl.video.[ch]:
617 Added accurate emulation of PAL delay line (PAL blending).
618
619
620 2013-04-08 Tomasz Krasuski <[email protected]>
621 * antic.[ch], gtia.c, ui.c: Improve the existing PAL blending implementation,
622 which worked only on lines in GTIA mode 9 and was erroneously called
623 "GTIA11_DELAY". Previously it only blended lines placed below GTIA 11 lines,
624 now it works on all grasycale pixels. PAL blending now can be switched
625 on/off - see "Display settings->TV effect" (renamed from "NTSC artifacting
626 quality", as this option is no longer NTSC-specific).
627
628
629 2013-04-07 Tomasz Krasuski <[email protected]>
630 * colours_pal.c: More accurate emulation of PAL colours based on analysis of
631 oscillograms of PAL GTIA output.
632
633 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/USAGE: Added support
634 for the cartridge mapping used by "Turbo Hit"/"Atari Blizzard Hit".
635
636 * memory.h: Fix gcc 4.7.2 -Wstrict-aliasing warnings.
637
638 * cartridge.[ch], ui.c, android/jni/jni.c: Avoid compiler warnings by moving
639 the table of cartridge names to jni.c. The default target doesn't need that
640 table anyway, it only needs the names.
641
642 * cartridge.c: Fix uninitialised variable which could result in unnecessary
643 bank switching.
644
645
646 2013-03-21 Petr Stehlik <[email protected]>
647 * configure.c, ui.c, atari_rpi.c, gles/video.c: committing new support
648 for Raspberry Pi made by Andrey Dj
649
650 * DOC/README.RPI, DOC/BUILD.RPI: documentation added
651
652
653 ** 3.0.0 released on 2013-03-03
654
655 2013-03-03 Petr Stehlik <[email protected]>
656 * DOC/ChangeLog, DOC/NEWS: updated for new release
657
658 * README.1ST, atari800.spec, DOC/README, atari.h, atari800.man, configure.ac,
659 util/export: version++
660
661 * emuos.c, emuos.lis: extended copyleft
662
663 * debian/{chaneglog, control, rules}: updates from the official Debian
664 package merged with updates for a new release
665
666
667 2013-02-09 Tomasz Krasuski <[email protected]>
668 * DOC/INSTALL, DOC/PORTING, DOC/README: Rename the "basic" version to "simple"
669 in the docs, to avoid confusion with the Atari BASIC and with the "basic"
670 target - there's no such target anymore.
671
672 * debian/control, DOC/INSTALL, DOC/INSTALL.dos, DOC/INSTALL.falcon,
673 DOC/README, DOC/readme.html.in, src/atari800.man, atari800.spec, README.1ST:
674 Update docs to inlcude the 1200XL and the XEGS as emulated systems.
675
676 * DOC/INSTALL.falcon: Update after renaming --disable-sound to --without-sound.
677
678 * DOC/README, DOC/NEWS: Updated with all my contributions since 2.2.1.
679
680
681 2013-01-28 Tomasz Krasuski <[email protected]>
682 * src/autogen.sh, src/configure.ac, src/configure_dos.bat:
683 Rename the "basic" target to "default" and make it the default - the
684 "--target" configure option can be omitted. Renamed the "--with-gui"
685 configure option to "--with-video".
686
687 * util/benchmark.pl:
688 Update to reflect the above changes. Allow passing --with-* options to
689 configure.
690
691 * atari800.spec:
692 Update to reflect the above changes. Allow building multiple binaries, each
693 with a different set of configure options.
694
695 * DOC/README, DOC/INSTALL, DOC/PORTING, debian/rules:
696 Update to reflect the above changes.
697
698
699 2012-10-11 Tomasz Krasuski <[email protected]>
700 * devices.c: Fix the H: read function to return status $03 if the next read
701 operation would yield EOF. This complies with Atari DOS behaviour and fixes
702 Turbo BASIC's BLOAD.
703
704 * atari.c, cfg.c, memory.[ch], ui.c, atari800.man, DOC/CREDITS, DOC/README,
705 DOC/USAGE: Patch by Jerzy Kut <[email protected]> with additional fixes. Adds
706 support for the MapRAM memory enhancement for XL/XE systems.
707
708 * sdl/video_gl.c: Patch by Jerzy Kut <[email protected]>. Spelling fix.
709
710
711 2012-09-09 Kostas Nakos <[email protected]>
712 * android/*: More UI fine tuning, new dialog for cartridge type selection
713 * afile.c, cartridge.[ch], ui.c: Moved cartridge types' descriptive text to
714 a more central (reusable) location, hooked android port when a cartridge
715 type cannot be detected.
716
717
718 2012-09-08 Kostas Nakos <[email protected]>
719 * android/*: UI fine tuning, soft keyboard fix for jelly bean
720
721
722 2012-09-05 Tomasz Krasuski <[email protected]>
723 * android/jni/jni.c: Fix ROM selection hack to support the well-known OSB NTSC
724 ROM bundled with XFormer. That ROM is hacked and therefore it is not
725 recognised as SYSROM_B_NTSC, but as SYSROM_800_CUSTOM.
726
727
728 2012-09-04 Kostas Nakos <[email protected]>
729 * android/*: Natively support UI on post-Honeycomb devices
730
731
732 2011-08-27 James Wilkinson <[email protected]>
733 * config.guess: Detect Haiku as x86 BeOS.
734
735
736 2012-08-05 Tomasz Krasuski <[email protected]>
737 * sysrom.c: Fixed CRC32 of the CC01r4 OS ROM - the previous one was for a
738 binary that I've myself incorrectly-assembled from sources.
739
740
741 2012-07-29 Kostas Nakos <[email protected]>
742 * android/*: Update project to newer android sdk (jelly bean - 4.1),
743 Fine tuning of the B: device handling,
744 Fix audio stuttering on jelly bean,
745 Fix keymap preference crash on jelly bean,
746 Fix keyboard mapping dialog on jelly bean
747
748
749 2012-07-21 Tomasz Krasuski <[email protected]>
750 * DOC/CREDITS: Fix alphabetical order. Update my own contributions.
751
752
753 2012-06-02 Kostas Nakos <[email protected]>
754 * android/*: Small tweaks to the touchscreen mode
755 * afile.c, cartridge.c: Temporary fix for non auto-detected cartridges, until
756 the implementation of a proper menu
757
758
759 2012-05-20 Kostas Nakos <[email protected]>
760 * android/*: Implement Planetary Defense mode, a Koala Pad click-where-I-point
761 mode
762 * devices.[ch], esc.h, android/*: Implement the B: device in the core and
763 android port
764
765
766 2012-05-19 Tomasz Krasuski <[email protected]>
767 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/USAGE: Support for
768 2 KB and 4 KB ROMs used in early Atari cartridges.
769
770 * configure.ac, platform.h, atari.c, ui_basic.c, ui.[ch], sdl/init.[ch],
771 sdl/main.c, sdl/sound.c, debian/rules, util/benchmark.pl, DOC/INSTALL: Merge
772 basic and sdl targets - GUI and sound libraries are now autodetected or
773 explicitely selected by --with-gui and --with-sound configure options.
774
775 * configure_dos.bat: Fix the dosvga and basic targets being merged.
776
777
778 2012-05-16 Tomasz Krasuski <[email protected]>
779 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/CREDITS, DOC/USAGE:
780 Committing patch by Jakub Husak: Support for the SIC! cartridge mapping
781 (without the flash programming feature).
782
783
784 2012-05-04 Tomasz Krasuski <[email protected]>
785 * configure.ac, util/benchmark.pl: Merge basic, curses, ncurses, pdcurses and
786 dosvga targets - appropriate GUI/input library is now autodetected or
787 selected explicitely by --with-gui configure option.
788
789 * ui.c: Fix segfault in the ROM Locations menu.
790
791 * atari_basic.c: Fix some GCC warnings.
792
793
794 2012-05-01 Tomasz Krasuski <[email protected]>
795 * devices.c, ide_internal.h, input.c, log.c, pbi_scsi.c, sio.c, ui.c, util.h,
796 dos/dos_ints.h: Fix some GCC warnings.
797
798
799 2012-04-22 Tomasz Krasuski <[email protected]>
800 * colours.[ch], colours_ntsc.[ch], colours_pal.[ch], ui.c, sdl/input.c,
801 atari800.man, DOC/USAGE: More exact emulation of PAL colors, including
802 colour delay - based on Altirra but with different table coeffitients,
803 derived from a real machine. Colour delay values for NTSC rescaled to
804 simplify the code.
805
806
807 2012-04-21 Tomasz Krasuski <[email protected]>
808 * sdl/input.c: Make the display adjustment keyboard shortcuts work by pressing
809 and holding - no more need to press the keys repeatedly.
810
811 * colours_ntsc.[ch], colurs_pal.c, colours.[ch], filter_ntsc.c, ui.c,
812 sdl/input.c, atari800.man, DOS/USAGE: Rename color control "Hue" to "Tint".
813 Add tint control also for PAL mode, as there are PAL TVs with tint control.
814
815
816 2012-03-31 Tomasz Krasuski <[email protected]>
817 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/USAGE: Added support
818 for the cartridge mapping used by "Monkey Wrench II for the Atari XL".
819
820
821 2012-03-29 Tomasz Krasuski <[email protected]>
822 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt: Renamed MicroCalc
823 cartridge mapping to Ultracart - that's the name printed at the cartridge's
824 PCB.
825
826
827 2012-03-26 Tomasz Krasuski <[email protected]>
828 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/USAGE: Added support
829 for the MicroCalc cartridge mapping.
830
831
832 2012-03-24 Tomasz Krasuski <[email protected]>
833 * atari.c, cfg.c, memory.[ch], ui.c: Simplify Axlon RAM code. Fix bug with
834 Axlon and Mosaic RAM switching to home bank on state read. Add option to
835 control Axlon RAM settings in GUI. Save Axlon RAM settings in config.
836
837
838 2012-03-23 Tomasz Krasuski <[email protected]>
839 * atari.[ch], cfg.c, ui.c: Fixed 1200XL jumper emulation - the machine has
840 only one onboard jumper, not four.
841
842 * atari.c, cfg.c, memory.[ch], ui.c: Simplify Mosaic RAM code. Add option to
843 control Mosaic RAM settings in GUI. Save Mosaic RAM setting in config.
844
845
846 2012-03-18 Tomasz Krasuski <[email protected]>
847 * atari.c, emuos.[ch], memory.c, Makefile.in, android/jni/Amdroid.mk.in,
848 dc/Makefile.dc, win32/msc/Makefile: Always take UI font from EMUOS - fixes
849 missing font when running the emulator in 5200 mode without configured OS
850 ROMs.
851
852 * atari.[ch], cartridge.c, cfg.c, devices.c, esc.c, input.c, memory.c, pia.c,
853 screen.c, sysrom.c, ui_basic.c, ui.c, sdl/input.c, android/jni/jni.c,
854 atari800.man, DOC/USAGE:
855 Reworked support for machine types. All XL/XE features can be enabled/
856 disabled independently. UI menu "Select System" renamed to "System Settings"
857 and reworked - now it only lists systems manufactured originally, with
858 additional options for configuration.
859
860 * devices.c, esc.c, sysrom.[ch], ui.c, atari800.man, DOC/USAGE: Support OS
861 revisions from the Arabic 65XE and prototype XL machines.
862
863
864 2012-03-11 Tomasz Krasuski <[email protected]>
865 * pia.c: Fix recently-introduced bug with MEMORY_cartA0BF_enabled being saved
866 twice in savestates - in both memory.c and pia.c.
867
868 * af80.c, cassette.c, devices.c, log.c, monitor.c, pbi_bb.c, pbi_mio.c,
869 pbi_proto80.c, pbi_xld.c, sysrom.c, ui.c, xep80.c, wince/port/missing.c:
870 Remove initialisation of local-static and global arrays to "", to prevent
871 them ending up in .data segment instead of .bss on some architectures/
872 compilers (android-arm). The C standard requires them to be initialised with
873 zeroes at runtime, so initialisation with "" is not needed.
874
875
876 2012-03-10 Kostas Nakos <[email protected]>
877 * android/*: Rename android port to Colleen
878
879
880 2012-03-08 Tomasz Krasuski <[email protected]>
881 * atari.[ch], cfg.c, input.c, memory.[ch], sysrom.[ch], ui.c, atari800.man,
882 DOC/USAGE: Add emulation of the XEGS (builtin game, detachable keyboard).
883
884 * atari.[ch], cfg.c, input.c, ui.c: Add emulation of 1200XL option jumpers,
885 as described in Atari XL Addendum section 3.8.
886
887 * ui.c: Emulate 32KB and 48KB memory expansions for the 600XL manufactured by
888 RC Systems.
889
890
891 2012-03-05 Tomasz Krasuski <[email protected]>
892 * memory.c, pia.[ch], statesav.c: Fix 2 errors related to separate access
893 of CPU and ANTIC to XE RAM:
894 - Self-Test should be visible also in the bank seen by ANTIC.
895 - When saving/loading a savestate in which only ANTIC has access to XE RAM,
896 XE bank number was not saved/loaded correctly. To fix this, loading/saving
897 of MEMORY_xe_bank had to be moved from PIA_StateRead to MEMORY_StateRead; so
898 I also moved a few other variables in those functions to where they belong.
899
900 * atari.[ch], cartridge.c, cfg.c, devices.c, esc.c, input.c, memory.c, pia.c,
901 screen.[ch], sysrom.[ch], ui_basic.c, ui.c, atari800.man, DOC/USAGE: Add
902 emulation of the 1200XL (no builtin BASIC, LEDs overlayed on screen, 2 new
903 XL OS revisions). The System ROM Settings menu ceased to fit on one screen,
904 so it is split into submenus.
905
906 * sdl/input.c: When in 1200XL mode, map arrows to F1-F4 keys.
907
908 * atari.[ch], cartridge.c, devices.c, esc.c, input.c, memory.c, pia.c,
909 screen.c, ui.c, sdl/input.c, android/jni/jni.c: Replace most of the
910 "if Atari800_machine_type ==" statements with references to
911 Atari800_features - the code was starting to be too convoluted.
912
913
914 2012-02-23 Tomasz Krasuski <[email protected]>
915 * cfg.c, memory.[ch], ui.c: Allow choosing more RAM amounts for 400/800, based
916 on possible combinations of CX852 and CX853 memory modules. Extending the
917 list of available systems in "Select System" menu to include all new RAM
918 sizes would be impractical, so a new option "RAM size" was added instead.
919
920 * atari.[ch], memory.c, pia.c, statesav.c: Support for saving new RAM sizes
921 (and the old 52kb size, too) in save states. reading/saving MEMORY_ram_size
922 moved to memory.c, where it belongs; storing RAM size as two separate values
923 (base RAM, XE banks) to make it more future-proof. Fixed the "feature" of
924 saving of unused 192kb.
925
926 * statesav.c: Fix old bug that allowed loading of save states with version
927 number higher than current.
928
929
930 2012-02-19 Tomasz Krasuski <[email protected]>
931 * atari.[ch], devices.c, esc.c, sysrom.[ch]: Make OS patches work depending on
932 OS version. Now patches work correctly also with Rev. A PAL and Rev. 1
933 (600XL).
934
935 2012-02-16 Tomasz Krasuski <[email protected]>
936 * atari.[ch], cartridge.c, cfg.c, devices.c, esc.c, memory.[ch], sysrom.[ch],
937 ui_basic.c, ui.c, android/jni/jni.c: Merge Atari800_MACHINE_OSA and
938 Atari800_MACHINE_OSB into Atari800_MACHINE_800 - no need for separate machine
939 types since OS revision can now be selected.
940
941 * sysrom.c, atari800.man, DOC/USAGE: Support choosing OS revision from command
942 line.
943
944
945 2012-02-10 Tomasz Krasuski <[email protected]>
946 * atari.c, cfg.[ch], crc32.[ch], sysrom.[ch], ui.c, Makefile.in,
947 dc/Makefile.dc, win32/msc/Makefile, android/jni/jni.c,
948 android/jni/Android.mk.in: Two new modules (crc32, sysrom) that add a new
949 functionality of searching for OS/BASIC ROM images based on known CRC32
950 hashes. Added possibility to select an OS/BASIC version when many are
951 available ("Select System"). When switching between PAL/NTSC, NTSC or PAL
952 version of OS Rev. A is selected accordingly.
953 Android port updated to work correctly (OS/BASIC version selection is still
954 missing though).
955
956
957 2012-01-27 Tomasz Krasuski <[email protected]>
958 * xep80.c: Rename SetCursor to SetCursorMode to avoid conflict with a winuser.h
959 function under MinGW.
960
961
962 2012-01-19 Tomasz Krasuski <[email protected]>
963 * xep80_fonts.c, xep80.[ch], videomode.c: Rewtritten XEP80 emulation, based on
964 disassembly of the XEP80 ROM. Programs such as EIGHTY.BAS from XEP80 System
965 Diskette, or XEPLIST2.BAS from ANTIC Oct/1988, now work correctly.
966
967 * videomode.c: Added authenthic aspect ratio for XEP80. Fixed issue with
968 1x, 2x, 3x, and "custom" stretch settings - for all videomodes except NORMAL
969 the screen would stretch twice the amount it should.
970
971
972 2012-01-12 Kostas Nakos <[email protected]>
973 * android/*: Implement state saving, fix a keymap preference corner case
974
975
976 2012-01-08 Tomasz Krasuski <[email protected]>
977 * antic.c: Fix accuracy of ANTIC_CPU_CLOCK when NEW_CYCLE_EXACT is enabled.
978
979 * monitor.c: Fix accuracy of cycle counts (when displaying the current state)
980 when NEX_CYCLE_EXACT is enabled.
981
982 * xep80.c: Fix (and simplify) the code for I/O timing - it was not resistant
983 to random data appearing in PORTA, which resulted in XEP80 going haywire
984 after coldstart. The change breaks binary compatibility of savestates.
985 Standardise indentation (tabs instead of spaces).
986 Remove the XEP80_ prefix from names of static entities.
987
988
989 2012-01-07 Tomasz Krasuski <[email protected]>
990 * sdl/input.c: No need to call SDL_GetKeyState() on each frame - moved the
991 call to SDL_INPUT_Initialise().
992
993 * xep80.[ch]: Removed variables XEP80_first_row, XEP80_last_row - not used
994 anywhere.
995
996 * cfg.c, xep80_fonts.[ch], xep80.[ch]: Load XEP80 fonts from a ROM image
997 instead of storing them in the source file (ROM path stored in config).
998 Generate the XEP80 block font algorithmically instead of storing it in the
999 source file.
1000
1001 * ui.c, videomode.[ch], xep80.[ch], atari800.man, DOC/USAGE, sdl/video_gl.c:
1002 Support XEP80's ability to switch the TV system by software. After the
1003 changes, the maximum height of the screen is 300 lines.
1004
1005 * sdl/video.c: Fix a glitch that appeared during XEP80 initialisation.
1006
1007 * ui.c: Add option to enable/disable XEP80 to the Emulator Settings menu.
1008
1009
1010 2012-01-07 Kostas Nakos <[email protected]>
1011 * android/*: Optimize file selector, allow roaming outside of ext. storage dir
1012 Added an exclusion border for paddle mode
1013
1014
1015 2011-12-22 Tomasz Krasuski <[email protected]>
1016 * android/jni/Android.mk.in, dc/Makefile.dc, win32/msc/Makefile: Add missing
1017 object img_tape.o to platform-specific Makefiles to make them work again
1018 (see Makefile.in revision 1.52).
1019
1020
1021 2011-11-29 Tomasz Krasuski <[email protected]>
1022 * cassette.c: Remove excessive logging, committed by mistake yesterday.
1023
1024
1025 2011-11-28 Tomasz Krasuski <[email protected]>
1026 * cassette.c: Fix segfault when the -tape parameter points to a nonexistent
1027 file.
1028
1029
1030 2011-11-16 Tomasz Krasuski <[email protected]>
1031 * atari_falcon.c, sound_falcon.c, falcon/sound_dma.S: Fix Falcon compilation
1032 errors with MiNTLib 0.59.1 and GCC 4.6.2 (still works with GCC 2.95.3 as
1033 tested under SpareMiNT).
1034
1035 * atari_basic.c, atari_curses.c, atari_falcon.c, atari_ps2.c, atari_x11.c,
1036 sound_falcon.c, sound_oss.c, sound.h, android/jni/sound.c, dos/atari_vga.c,
1037 dos/sound_dos.c, sdl/main.c, sdl/sound.[ch], win32/atari_win32.c,
1038 win32/sound.c, wince/port/atari_wince.c, wince/port/sound.c: Make
1039 Sound_Initialise fail gracefully instead of segfaulting when an option
1040 argument is missing. Do not initialise sound unnecessarily when the "-help"
1041 option is given.
1042
1043 * antic.c, atari_curses.c, atari.c, platform.h, ui_basic.c, ui.c: Cleanup:
1044 gather all declarations of curses_* functions together in platform.h.
1045
1046 * atari.c, configure.ac, devices.c, log.c, monitor.c, screen.c, sio.c,
1047 sound_oss.c, ui_basic.c, ui.c: Cleanup to make the ncurses target build with
1048 more restrictive CFLAGS (same as the sdl target).
1049
1050
1051 2011-11-11 Tomasz Krasuski <[email protected]>
1052 * af80.[ch], atari.c, cartridge.[ch], devices.[ch], ide.[ch], input.c,
1053 pbi_bb.[ch], pbi_mio.[ch], pbi_proto80.[ch], pbi_xld.[ch], pbi.[ch],
1054 sdl/video.c: Add or fix Exit functions for files/resources that were not
1055 _explicitely_ closed/freed on exit.
1056 Add call to Atari800_ErrExit also when commandline-parsing fails.
1057 Previously when starting the dosvga target with "atari800 -artif",
1058 the emulator would exit without uninitialising VGA, leaving mess on screen.
1059
1060 * amiga/amiga.c, dc/atari_dc.c: Fix Platform_Initialise() not returning
1061 a value.
1062
1063
1064 2011-11-04 Tomasz Krasuski <[email protected]>
1065 * monitor.c: Fix a memory leak - buffer allocated by readline() should be
1066 freed by user.
1067
1068 * configure.ac: Clean-up of SDL detection - restore the "Don't redefine main"
1069 snippet that got mistakenly deleted in revisions 1.108-1.109.
1070
1071 * configure.ac, Makefile.in, DOC/README.android: Cleanup in detection of
1072 libreadline and OpenGL:
1073 Renamed options --enable-monitor-readline and --enable-opengl to
1074 --with-readline and --with-opengl, respectively - Autoconf manual recommends
1075 the --with prefix for options requiring external software.
1076 Since the AC_CHECK_HEADER (used in OpenGL detection) requires proper setting
1077 of CPPFLAGS, rudimentary support for this variable has been added.
1078
1079 * sdl/video_gl.c: Fix wrong definition of "black" colour for the BGRA32 pixel
1080 format, which caused a visible blue border around the screen with bilinear
1081 filtering and stretch >= 2.
1082
1083
1084 2011-10-27 Tomasz Krasuski <[email protected]>
1085 * afile.c, cassette.[ch], img_tape.[ch], screen.c, ui.c, Makefile.in:
1086 Cassette-related code cleanup - functionality related to handling of
1087 tape image files split from afile.c and cassette.c to new module img_tape.
1088 Functional changes: During cassette insert the old tape is not unmounted
1089 until opening of the new tape ended successfully; Added error message when
1090 tape opening fails with the -tape command parameter.
1091
1092
1093 2011-09-05 Tomasz Krasuski <[email protected]>
1094 * DOC/cart.txt, DOC/USAGE, atari800.man, cartridge.[ch], ui.c: Added support
1095 for Atrax SDX 64/128K cartridge mapping and for the Turbosoft 64/128
1096 cartridge mappings.
1097
1098 * cartridge.c: Fixed a bug in OSS 034M/043M mappings - the area filled by $FF
1099 should be $A000-$AFF instead of $8000-$9FFF.
1100
1101
1102 2011-09-04 Kostas Nakos <[email protected]>
1103 * android/*: Added paddle emulation
1104
1105
1106 2011-09-03 Tomasz Krasuski <[email protected]>
1107 * monitor.c: Code cleanup - split MONITOR_Run() into separate functions for
1108 each monitor command. Functionality unchanged.
1109
1110 * af80.[ch], antic.[ch], cartridge.[ch], cpu.c, gtia.[ch], ide.[ch],
1111 memory.[ch], monitor.c, pbi_bb.[ch], pbi_mio.[ch], pbi_proto80.[ch],
1112 pbi.[ch], pia.[ch], pokey.[ch]: Added option of reading hardware memory
1113 without side effects. Used this in the, monitor so now eg. the "M" option
1114 doesn't switch cartridge banks while displaying page $D5. Fixed the
1115 monitor's "disassemble" functionality - it didn't correctly disassemble code
1116 in hardware memory.
1117
1118
1119 2011-09-02 Tomasz Krasuski <[email protected]>
1120 * sdl/input.c: Swapped mapping of right and middle mouse buttons, to make it
1121 identical to the X11 and Win32 ports.
1122
1123
1124 2011-08-24 Tomasz Krasuski <[email protected]>
1125 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/USAGE: Added support
1126 for a 32 KB cartridge format used by Atari Super Turbo Multi-Cartridge.
1127
1128 * cfg.c, rtime.[ch]: Support for saving the state of R-Time 8 in config file.
1129
1130 * atari800.man: Improve formatting (bold, italic etc.), mainly according to
1131 man-pages(7).
1132
1133
1134 2011-08-06 Tomasz Krasuski <[email protected]>
1135 * afile.c: Fixed compilation errors for --target=basic introduced on
1136 2011-06-27.
1137
1138
1139 2011-08-05 Tomasz Krasuski <[email protected]>
1140 * DOS/cart.txt, DOC/USAGE, cartridge.[ch], ui.c: Added support for the
1141 Blizzard-type 4KB cartridge (which contains a 2732 EPROM inside).
1142
1143
1144 2011-07-23 Kostas Nakos <[email protected]>
1145 * atari.c: Use FPS defines in autoframeskip
1146 * android/*: Fix a nasty bug, when orientation was changed during the
1147 preferences activity,
1148 added shadow rectangle around console keys overlay
1149
1150
1151 2011-07-02 Tomasz Krasuski <[email protected]>
1152 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt, DOC/USAGE: Added support
1153 for the OSS 043M cartridge format. The old 034M format is marked as obsolete
1154 but still supported. Renamed the OSS cartridge formats to include
1155 information on number of ROM chips (043M/034M - two chip, M091 - one chip).
1156
1157
1158 2011-06-27 Tomasz Krasuski <[email protected]>
1159 * cassette.c: Fixed a bug with eof_of_tape not always being set to 1 when it
1160 should be, f.e. after a call to CASSETTE_Seek(). When the SIO patch was
1161 enabled and the tape was Seek'ed past the last block, this could result in
1162 a call to CASSETTE_IOLineStatus() while CASSETTE_current_block was higher
1163 than CASSETTE_max_block. This in turn would cause division by 0 (due to
1164 reading an uninitialilsed value from cassette_baudblock).
1165 Now eof_of_tape is set properly after every change of either
1166 CASSETTE_current_block or CASSETTE_max_block, so a dangerous call to
1167 CASSETTE_IOLineStatus doesn't happen anymore.
1168
1169 * cartridge.c: Fixed a bug introduced in rev. 1.48: CARTRIDGE_StateRead would
1170 try to read the cartridge's bank state even if the cartridge was not
1171 present; thus the whole state reading would fail.
1172
1173 * afile.c: Support selecting cartridge type when loading a cartridge by Alt+R.
1174
1175
1176 2011-06-21 Tomasz Krasuski <[email protected]>
1177 * ui.c: Fixed a segfault when opening the "Fullscreen resolution" submenu.
1178 This was caused by the change in ui.h on 06-20. (reported by Krzysztof
1179 Karkosza)
1180
1181
1182 2011-06-20 Tomasz Krasuski <[email protected]>
1183 * sdl/input.c: Fixed a bug with F10 creating interlaced screenshots instead of
1184 non-interlaced.
1185
1186 * cartridge.[ch], ui.c, atari800.man, DOC/USAGE: Ported from Atari800WinPLus -
1187 an option for enabling/disabling automatic reboot when the cartridge is
1188 inserted or removed. (Only applies to the main cartridge. After inserting or
1189 removing a piggyback cartridge, it works as earlier - ie. the system will
1190 not reboot automatically.)
1191
1192 * ui.h, ui_basic.c: Reworked detection of menu end (UI_MENU_END). The
1193 previous solution stopped working correctly since in the CartManagement menu
1194 there are hidden menuitems with the "item" field set to NULL which would be
1195 incorrectly detected as end of menu.
1196
1197
1198 2011-06-17 Tomasz Krasuski <[email protected]>
1199 * cartridge.c, DOC/cart.txt: Reverted the last change in the 034M mapping
1200 regarding switched banks 1 and 2 - on second thought, applying such change
1201 to a years-old specification without proper discussion is not a good idea.
1202
1203
1204 2011-06-16 Tomasz Krasuski <[email protected]>
1205 *cartridge.c, DOC/cart.txt: Fixed an ages-old bug in the OSS 034M cartridge
1206 banking scheme. Banks 1 and 2 were switched, which caused all known OSS
1207 034M dumps to fail. (There actually are only 3 known images of 034M
1208 cartridges:
1209 Action! 3.5: http://ftp.pigwa.net/stuff/collections/atari_forever/ROM/ACTION.OSS/ACTION.OSS
1210 BASIC XL 1.02: http://ftp.pigwa.net/stuff/collections/atari_forever/ROM/BASICXL.OSS/BXL102.OSS
1211 MAC/65 1.0: http://ftp.pigwa.net/stuff/collections/atari_forever/ROM/MAC65.OSS/MAC65.OSS
1212 All failed to work before this fix.)
1213 Additionally the combinations $D5x1 and $D5x5 were incorrectly described as
1214 working - I've changed it to more closely reflect the reality (the
1215 combinations cause selection of 2 banks simultaneously - but it's still not
1216 emulated 100% exactly).
1217
1218 * cartridge.[ch], atari.c, ui.c: Moved the logic that auto-switches machine
1219 type after insertion of a cartridge. Now it resides in cartridge.c, where it
1220 belongs. Introduced new function CARTRIDGE_SetType, that should be used to
1221 change the cartridge's type. CARTRIDGE_IsFor5200 and CARTRIDGE_Start are not
1222 used outside cartridge.c anymore, so I renamed them and made static.
1223
1224
1225 2011-06-13 Tomasz Krasuski <[email protected]>
1226 * cartridge.[ch]: Major rewrite, required to fix bugs in piggyback cartridge
1227 emulation and with writing/reading savestates with banked cartridges.
1228 1. SDX piggyback emulation was broken and apparently written without knowing
1229 the cartridge's specs - the SDX cart only reacts to access to address
1230 $D5Ex (also $D5Fx in case of the 128K version).
1231 2. A piggyback cartridge reacts to access to page $D5 even if it is disabled
1232 by the SDX cart. So when processing a read/write to page $D5 both mounted
1233 cartridges must be bank-switched.
1234 3. A cartridge reacts to page $D5 even if there's an R-Time or
1235 IDE hardware installed.
1236 3. In savestates the bankswitched cartridge's current state was not stored,
1237 and in some cases such savestates didn't work properly when loaded.
1238 4. Overall code cleanup - introduced the CARTRIDGE_image_t structure for
1239 clarity.
1240
1241 * gtia.[ch], statesav.c, cartridge.[ch] (CARTRIDGE_StateRead)
1242 (CARTRIDGE_StateSave): GTIA needs to store its trigger latches in the
1243 savestate in order to properly restore after loading a savestate with
1244 a banked cartridge. Banked cartridge's current state must also be stored in
1245 a savestate. Both changes require bumping up the savestate version number.
1246
1247 * atari.c, ui.c: Apply the new API of cartridge.h.
1248
1249 * DOC/cart.txt: Update the SpartaDOS X sections with info about piggyback
1250 cartridges.
1251
1252 * atari.c, cartridge.[ch] (CARTRIDGE_Initialise): Move code for processing
1253 cartridge-related commandline optins to cartridge.c.
1254
1255 * cartridge.c, atari800.man, DOC/USAGE: Add -cart-type and -cart2-type
1256 options, that allow to choose cartridge type from commandline.
1257
1258 * cartridge.c (CARTRIDGE_ReadConfig, CARTRIDGE_WriteConfig), cfg.c: Support
1259 loading and saving of the cartridge settings in the config file.
1260
1261 * cartridge.[ch], ui.c, atari800.man, DOC/cart.txt DOC/USAGE: Add support for
1262 the OSS The Writer's Tool cartridge mapping.
1263
1264
1265 2011-06-08 Tomasz Krasuski <[email protected]>
1266 * ui_basic.c: Allow opening up the file selector when the given PATH is
1267 invalid. When a diskette image is mounted, its path is cached in the
1268 emulator. If, in the meantime, the path to that file have become invalid
1269 (e.g. the directory in which the file resided have been deleted), then
1270 reopening the file selector for that particular diskette would have failed.
1271
1272 * cartridge.c: Unify duplicate code in CARTRIDGE_Insert and
1273 CARTRIDGE_Insert_Second.
1274
1275
1276 2011-06-05 Kostas Nakos <[email protected]>
1277 * android/*: Implement extended key remapping,
1278 Support Xperia play keycodes,
1279 Remap dpad enter to break,
1280 New NTSC/PAL tv mode preference
1281
1282
1283 2011-05-22 Tomasz Krasuski <[email protected]>
1284 * DOC/USAGE, atari800.man, cassette.[ch], ui.c: Add an option for making the
1285 attached cassette image read-only.
1286
1287 * cassette.[ch]: Cleanup - rearrange function order to place the functions
1288 related to the SIO patch together at the bottom of the files.
1289
1290 * cartridge.[ch], ui.c: Merge "Insert Cartridge"/"Remove Cartridge" menu
1291 options into one, to make it consistent with other file-selectors in the
1292 menu (ie. display filename, Enter=Insert, BkSp=Remove). Ditto for the
1293 "Insert|Remove SDX Piggyback Cartridge" options.
1294
1295 * ui.c: Don't leave the "Cartridge Management" menu after inserting/removing
1296 a cartridge. The behaviour was inconsistent with other menus.
1297
1298 * screen.c: Minor fix - missing "else" in Screen_Initialise().
1299
1300
1301 2011-05-21 Tomasz Krasuski <[email protected]>
1302 * sio.c: Fixed a bug with SIO sounds remaining audible after saving to tape
1303 with SIO patch (reported by Krzysztof Karkosza).
1304
1305 * atari.c: During coldstart, don't automatically hold Option on non-XL/XE
1306 machines. This fixes unwanted keystrokes when running cartridges on 400/800
1307 with the "Disable Basic" option. Also, don't hold Start on booting the 5200.
1308
1309 * memory.c: Bugfix: When "Selecting System" and choosing 800/48KB RAM twice
1310 in a row, BASIC would get disabled even if the "Disable BASIC" option was
1311 set to "No". This was caused by missing initialisation of cartridge memory
1312 in MEMORY_InitialiseMachine().
1313
1314
1315 2011-05-18 Tomasz Krasuski <[email protected]>
1316 * cassette.c: Fixed a bug with CASSETTE_description not being properly ended
1317 with '\0' when tape is inserted (reported by Achim Haertel).
1318
1319
1320 2011-05-15 Tomasz Krasuski <[email protected]>
1321 * cassette.[ch], pokey.c, sio.c: Improve cassette emulation, to allow loading
1322 some non-standard tapes (e.g. Feud/Turbo 2600, Miecze Valdgira II,
1323 Operation Blood).
1324 Emulation of SERIN was inaccurate - new byte appeared in SERIN only if the
1325 serial input IRQ was enabled, and it happened 2 scanlines after the byte's
1326 transmission has _started_. On a real machine, a byte appears in
1327 SERIN at the same time the serial input IRQ is generated, that is, when
1328 the byte's transmission _ends_; and it happens even when the IRQ is
1329 disabled. The bug caused issues with tapes of _certain_ baudrates (e.g. 577
1330 baud).
1331 Changed the way cassette IRQ is invoked - there is no notion of
1332 "cassette IRQ delay" anymore. Instead, CASSETTE_AddScanLine returns TRUE
1333 on SERIN update.
1334 Added partial emulation of SKCTL reset bits - due to improved SERIN
1335 accuracy proper emulation of serial IO resetting is now needed to load tapes
1336 correctly.
1337
1338
1339 2011-05-09 Tomasz Krasuski <[email protected]>
1340 * pia.c: Fixed a bug with PIA's tape motor state and COMMAND line state not
1341 being restored on loading of a savestate.
1342
1343 * screen.c: Display SIO activity for tapes only when a tape image is attached.
1344
1345 * cassette.[ch], sio.c: Fixed a segfault when reading tape blocks longer than
1346 4096 bytes, by dynamically allocationg memory when needed. Blocks loaded
1347 with SIO patch are now copied to Atari memory even when they are too short
1348 or the checksum is wrong - this duplicates the behaviour of the unpatched
1349 system. CASSETTE_buffer no longer used outside cassette.c, so it's made
1350 static.
1351
1352
1353 2011-05-08 Tomasz Krasuski <[email protected]>
1354 * atari.c, cassette.[ch], cfg.c, screen.c, sio.c, ui.c: Added support for
1355 switching bettween tape loading/saving without need to re-attach a tape
1356 image. Added a "Tape management" menu with new options for tape rewinding
1357 and creating a blank CAS image. Added loading/saving of the currently
1358 attached tape image in the config file. Without the SIO patch, a user now
1359 must manually switch tape recording on/off if needed. Fixed some bugs and
1360 cleaned the code a bit.
1361
1362 * DOC/directx.txt, atari_curses.c, atari_falcon.c, atari_ps2.c,
1363 dos/atari_vga.c, javanvm/atari_javanvm.c, sdl/input.c, win32/atari_win32.c:
1364 Added the Alt+T shortcut to the new Tape Management menu. The "tilt screen"
1365 in the Win32 port has been remapped to Alt+Shift+Z to avoid conflict.
1366
1367 * DOC/USAGE: Updated the "Cassette operation" section with the new features.
1368
1369 * screen.c: Added displaying of current tape position when sector counter is
1370 enabled. Display a "Dn" symbol instead of "n" during disk operations.
1371
1372 * ui.c: Renamed the "Show disk activity" and "Show sector counter" options to
1373 reflect the fact that they also affect tape operations.
1374
1375
1376 2011-05-05 Petr Stehlik <[email protected]>
1377 * atari800.spec: David Bolt has provided an update that allows building
1378 the RPM packages for Fedora, CentOS, SUSE and Mandriva distributions.
1379
1380
1381 2011-04-30 Tomasz Krasuski <[email protected]>
1382 * videomode.c: Fixed a bug with not allowing a VIDEOMODE_HOST_ASPECT_RATIO=0:0
1383 entry in the config file. Now when this value is encountered, the emulator
1384 performs aspect ratio autodetection.
1385
1386 * DOC/USAGE, atari800.man, atari.[ch], atari_curses.c, cfg.[ch], colours.c,
1387 input.c, ui.c, util.c, sdl/sound.c: Added support for automatic saving of
1388 configuration on emulator exit. (Had to move the System ROM Settings to
1389 a separate submenu in UI in order to make place for the new option.)
1390 Autosaving is performed only when a user closed the emulator, and not when
1391 the emulator closed itself eg. due to failure. For exiting an emulator due
1392 to error, a new function Atari800_ErrExit() is provided. This function works
1393 like Atari800_Exit but omits the autosaving.
1394
1395
1396 ** 2.2.1 released on 2011-04-28
1397
1398 2011-04-28 Petr Stehlik <[email protected]>
1399 * configure.ac: generalization for sound configuration
1400
1401 * ui.c, videomode.c, sdl/input.c: slight optimization for snprintf()
1402
1403 * monitor.c, rdevice.c, screen.[ch], sio.c, ui.c, ui_basic.c, util.c,
1404 videomode.c: replace unsafe sprintf() with snprintf()
1405
1406 * sdl/input.c: fix for over-optimized LPT TRIG, sprintf() removed
1407
1408 * README.1ST, atari800.spec, DOC/README, DOC/NEWS, atari.h, util/export:
1409 updated for a new release
1410
1411
1412 2011-04-27 Petr Stehlik <[email protected]>
1413 * DOC/ChangeLog: blank lines added, "src/" from filenames removed
1414
1415 * ide.c: fixes for IDE emulation from Ivo <[email protected]> - fix for
1416 8-bit mode with an odd number of reads and adds a command line option
1417 for enabling CF mode (slightly different from normal HD mode)
1418
1419 * configure.ac: fixes non-SDL sound (example: X11 target) for Linux and BeOS
1420 and also adds support for SDL sound on Falcon and other platforms
1421 (like for example *BSD, which should fix the Debian Atari800 package)
1422
1423 * debian/*: updated for a new release, dropping non-SDL binary packages.
1424
1425
1426 2011-04-23 Kostas Nakos <[email protected]>
1427 * android/*: Speed up fileselector on orientation update & bugfix mount/insert
1428
1429
1430 2011-04-22 Tomasz Krasuski <[email protected]>
1431 * sdl/input.c: Allow using SDL/LPT joysticks together with keyboard
1432 joysticks. Previously if a user had a joystick connected, keyboard
1433 joysticks were ignored.
1434
1435 * sdl/video.c, sdl/video_gl.c: Rework the resolution of the segfault
1436 when switching between software<->OpenGL in Windows - now it always
1437 reinitialises the video subsystem. The previous solution would later cause
1438 glitches when rapidly resizing the OpenGL window.
1439
1440 * sdl/main.c, sdl/input.c: Delay processing of repeated window resize
1441 requests on Windows to avoid a bug in SDL.
1442
1443
1444 2011-04-18 Tomasz Krasuski <[email protected]>
1445 * ui_basic.c: Fix division by 0 in the slider control.
1446
1447 * configure.ac: Fix recently-introduced issue with building SDL/Windows -
1448 adding SDL flags to CFLAGS must be done after all AC_CHECK_FUNCS tests but
1449 before the OpenGL check.
1450
1451 * sdl/main.c: Fix Windows/SDL crash when the console window is closed by
1452 user, by servicing console-sourced signals. The crash was due to the audio
1453 subsystem not being closed properly.
1454
1455 * atari.c, sdl/main.c, sdl/video.[ch], sdl/video_gl.c, sdl/video_sw.[ch]:
1456 On Windows use the DirectX backend only in fullscreen (supports VSync) and
1457 Windib otherwise (DirectX backend is glitchy in windowed modes).
1458
1459 * ui.c: Use the slider control in the "Scanlines visibility" menu option;
1460 improve several option names.
1461
1462 * cfg.c, screen.[ch]: Store the "Show speed", "Show disk activity" and
1463 "Show sector counter" settings in config file.
1464
1465
1466 2011-04-13 Tomasz Krasuski <[email protected]>
1467 * atari.c: Fix bug introduced at 04-09 with atari.c not compiling when
1468 HAVE_SIGNAL is not defined.
1469
1470 * DOS/INSTALL, configure.ac, aclocal.m4: Detect presence of SDL
1471 using the standard m4 script provided by SDL. New configure options are
1472 available: --disable-sdltest, --with-sdl-prefix and --with-sdl-exec-prefix.
1473
1474 * sdl/video.c, sdl/video_gl.c: Fix misuse of SDL - setting pointers
1475 to OpenGL functions must be performed after each call to SDL_SetVideoMode.
1476 Fix a bug with screen_texture not always being freed when needed.
1477 Make OpenGL log messages slimmer and let them appear only when initialising
1478 OpenGL.
1479
1480
1481 2011-04-09 Tomasz Krasuski <[email protected]>
1482 * DOC/USAGE, atari800.man, ui.c, atari_ntsc/atari_ntsc.[ch],
1483 sdl/palette.[ch], sdl/video.[ch], sdl/video_gl.[ch],
1484 sdl/video_sw.[ch]: Add option for setting pixel (texture) format
1485 in OpenGL mode - depending on graphics hardware, different formats give
1486 the best performance. the BPP parameter is now only for software modes.
1487 Also fix a bug with bit depth autodetection not working (in Windows BPP
1488 autotetection works only before the first call to SDL_SetVideoMode), and use
1489 the SDL 8-bit palettised video mode properly.
1490
1491 * DOC/USAGE, atari800.man, ui.c, sdl/video.[ch],
1492 sdl/video_gl.[ch], sdl/video_sw.c: Add option for enabling
1493 synchronization with vertical retrace - for SDL fullscreen non-OpenGL modes.
1494
1495 * DOC/USAGE, atari800.man, ui.c, sdl/video_gl.[ch]:
1496 Add option for disabling OpenGL Pixel Buffer Objects - on some hardware they
1497 decrease performance.
1498
1499 * DOC/USAGE, atari800.man, ui.c, videomode.[ch]:
1500 Add option for automatic detection of host screen aspect ratio.
1501
1502 * DOC/USAGE, atari800.man, ui.c, videomode.[ch], sdl/video.c:
1503 Rename several options to more intuitive names - in command line and in GUI:
1504 -horiz-offset -> -horiz-shift, -vert-offset -> -vert-shift,
1505 -stretch integer -> -stretch integral,
1506 -keep-aspect 1to1 -> image-aspect square-pixels,
1507 -[no]-opengl -> -[no]-video-accel
1508
1509 * ui.c: Reorder the Video Mode Settings menu, for better usability.
1510 Use the slider control for video area/shift options.
1511
1512 * sdl/video_gl.c, sdl/video_sw.c: Call SDL_SetVideoMode() and display
1513 ModeInfo only when necessary.
1514
1515 * DOC/USAGE, atari800.man, videomode.c, sdl/video.c: Other fixes
1516 in help/documentation.
1517
1518 * sdl/main.c, sdl/video.[ch], sdl/video_gl.[ch], sdl/video_sw.c:
1519 Try to reinitialise the SDL video subsystem after an error before failing.
1520 This allows to recover from some hardware/driver-related errors.
1521
1522 * platform.h, videomode.c, sdl/input.c, sdl.video.c, sdl/video_sw.c:
1523 Fix broken handling of SDL_VIDEORESIZE event: the call to SDL_SetVideoMode
1524 must set the same window size as returned by the event. Also when window
1525 is maximised, it is not allowed to un-maximise it by software. When these
1526 conditions are not met, glitches occur.
1527
1528 * videomode.c: Fix broken aspect ratio correction in windowed rotated
1529 modes. Make the windowed mode the default - it's more compatible.
1530
1531 * sdl/video_gl.c: Fix glitches when switching software<->OpenGL on
1532 Windows. Avoid unnecessary scanline-drawing when scanline-percentage is 0.
1533
1534 * sdl/input.c: Work around unwanted keyboard events when pressing
1535 Alt+Tab on Windows.
1536
1537 * atari.c, ui.c, sdl/input.c: Fix abuse of signals.
1538 Atari800_Exit() calls signal-unsafe functions, so it cannot be called from
1539 within a signal handler.
1540
1541 * sdl/main.c: Close the SDL window when the monitor is used, to avoid
1542 unnecessary keyboard events.
1543
1544 * monitor.c: Fix improper handling of the prompt when readline is used.
1545
1546
1547 2011-04-04 James Wilkinson <[email protected]>
1548 * configure.ac, Makefile.in: maintain support for older compilers (DOS, BeOS)
1549
1550
1551 2011-04-03 Kostas Nakos <[email protected]>
1552 * android/*: Implement new screen cropping preferences,
1553 some small port fixes,
1554 implement new arrow key derotation workaround for ext. keyboards
1555
1556
1557 ** 2.2.0 released on 2011-04-02 at Atariada in Prostejov
1558
1559 2011-04-02 Petr Stehlik <[email protected]>
1560 Commiting patches submitted by Tomasz Krasuski <[email protected]>
1561 and Achim Haertel <[email protected]>:
1562 * many files: Tomasz Krasuski's large patch that adds a new control to the GUI,
1563 a slider which allows to adjust a numeric value using left and right arrows.
1564 The slider is used in the colour controls (brightness, contrast etc.) and in
1565 NTSC Filter settings. The colour/palette settings and NTSC Filter settings
1566 are now saved in the config file. Color handling in UI got better names:
1567 "Color preset", "Standard", "Deep" and "Vibrant".
1568 Added the option "Filter preset" to Display settings->NTSC Filter settings.
1569 This option allows to adjust several presets for the NTSC filter:
1570 Composite, S-Video, RGB and Monochrome. Previously this option was available
1571 only as a keyboard shortcut in the SDL port. Also see -ntsc-filter-preset in
1572 the command line.
1573 Added a new function PreInitialise() that is intended to contain any
1574 initialisation code that needs to be called before reading of the config file.
1575 Fixed a few compilation errors and warnings for the MSVC build, and slightly
1576 updated the build instructions. As a bonus, the colour/palette adjustments
1577 are now also available in the DirectX port.
1578 Simplified the code for processing Win32-specific hotkeys. Now there's less
1579 platfrom-specific code scattered around. Functionality remains unchanged.
1580
1581 * monitor.c: Achim Haertel's patch adds a minor change to the monitor:
1582 BPC without argument shows now the current breakpoint location.
1583
1584 * atari800.spec: X11 and ncurses dropped. libGL should be added
1585 as a recommended library.
1586
1587 * README.1ST, README, ChangeLog, NEWS, util/export: updated for a new release
1588
1589 * sdl/video_sw.c: disabled an annoying debug print
1590
1591
1592 2011-04-02 Kostas Nakos <[email protected]>
1593 * android/*: Implement a simple disk management menu
1594 * ui.c: Rearranged an #include to silence a redefinition warning
1595
1596
1597 2011-03-19 Kostas Nakos <[email protected]>
1598 * android/*: Map dpad-center and ~ to Atari's escape key,
1599 fix a couple of races when restarting, pausing/resuming the audio
1600
1601
1602 2011-03-06 Kostas Nakos <[email protected]>
1603 * atari.[ch], android/*: Implemented autoframeskip functionality
1604 * android/*: Added .com & .exe to supported extensions,
1605 bugfix crash when sound disabled,
1606 added new joystick grace area preference
1607
1608
1609 2011-02-13 Kostas Nakos <[email protected]>
1610 * log.c, atari.c, screen.c, configure.ac, Makefile.in, android/*: Imported the
1611 android port
1612 * antic.c: Fix dirty screen updates with WORDS_UNALIGNED_OK
1613
1614
1615 2010-12-09 James Wilkinson <[email protected]>
1616 * af80.c: prevent extra carriage return in config file setting.
1617
1618
1619 2010-11-25 Petr Stehlik <[email protected]>
1620 * cartridge.c, cassette.c, cfg.c, devices.c, monitor.c, pbi_scsi.c, sio.c,
1621 sound_oss.c, statesav.c, ui.c: GCC warnings about unused results fixed
1622 (mostly return values of fread() and similar libc functions).
1623
1624 * atari.c: fixed benchmarking with SDL (DONT_DISPLAY)
1625
1626
1627 2010-11-24 Petr Stehlik <[email protected]>
1628 * many files: Tomasz Krasuski's large patch that implements major SDL video
1629 output improvements - see "Display settings" -> "Video mode settings".
1630
1631 * util.c: fixed Util_stricmp() implementation (was broken for empty strings)
1632
1633
1634 2010-11-23 Petr Stehlik <[email protected]>
1635 * configure.ac: Matthias Reichl's patches for cross-compilation of the Windows
1636 version under Debian. Use as follows:
1637 PATH="/opt/mingw/SDL-1.2.14/bin:${PATH}" \
1638 CPPFLAGS="-I/opt/mingw/libz-1.2.5/include" \
1639 LDFLAGS="-L/opt/mingw/libz-1.2.5/lib" \
1640 ./configure --target=sdl --host=i586-mingw32msvc
1641
1642 * ui.c: Tomasz Krasuski's patch for hiding proper Display entries in PAL mode
1643
1644 * configure.ac: Tomasz Krasuski's patch for termcap being available in other
1645 libraries (readline, ncurses)
1646
1647
1648 2010-10-05 James Wilkinson <[email protected]>
1649 * ui_basic.c: change #ifdef to DIRECTX for DoEvents() call (thanks Matthias)
1650
1651
1652 2010-05-24 Petr Stehlik <[email protected]>
1653 * atari.c, cartridge.c, configure.ac, Makefile.in: make IDE emulation optional
1654 though enabled by default (use --disable-ide configure option if it doesn't
1655 compile on your platform)
1656
1657 * colours_ntsc.c: fixed missing default return
1658
1659 * atari.h: version increased to 2.2.0rc1
1660
1661 * atari800.spec, README.1ST, DOC/NEWS: updated for upcoming release
1662
1663
1664 2010-05-17 Petr Stehlik <[email protected]>
1665 * colours.c: write file in binary mode (thanks Tomasz Krasuski for the patch)
1666 * ide.c: read file in binary mode
1667 * data folder added
1668 * icon files moved from util to data folder
1669 * atari2.svg and atari2.png added to data folder (credits to John Oyler,
1670 thanks to Brian Watson)
1671
1672
1673 2010-04-30 James Wilkinson <[email protected]>
1674 * akey.h, atari.c, colours.[ch], colours_ntsc.[ch], colours_pal.c, configure.ac,
1675 ui.[ch], ui_basic.[ch], win32/atari_win32.[ch], win32/main.cpp, win32/main.h,
1676 win32/main_menu.h, win32/render_direct3d.cpp, win32/render_direct3d.h,
1677 win32/render_gdi.c, win32/render_gdiplus.cpp, win32/screen_win32.[ch],
1678 DOC/directx.txt:
1679 Committed DirectX display enhancements by David Dahlstrom <[email protected]>
1680
1681
1682 2010-04-29 James Wilkinson <[email protected]>
1683 * Makefile.in: switched to patsubst long form in win32 rule because compound short form did not work as expected with at least some compilers
1684
1685 * win32/atari_win32.h: corrected prototype to remove compiler warning
1686
1687
1688 2010-04-28 James Wilkinson <[email protected]>
1689 * ide.[ch], ide_internal.h: build fixes for Windows/BeOS/DOS fseek/ftell and compiler complaints
1690
1691
1692 2010-04-27 Ivo van Poorten <[email protected]>
1693 Implementation of both 8- and 16-bit IDE. If the MSB's are ignored,
1694 the interface is compatible with MyIDE (tested mainly with MYIDE44E.ROM).
1695 Some advanced features, like SMART and DVD/CDROM support, are not there yet,
1696 but this is more than enough to write and test low level IDE Microdrive/CF
1697 code. For harddisks it might be beneficial to emulate a couple of busy cycles.
1698
1699
1700 2010-04-26 James Wilkinson <[email protected]>
1701 * ui.c: corrected H: error caused by turbo patch
1702
1703 * atari.c, colours.c: correct blank screen on platforms that do not support palette update
1704
1705 * atari_sdl.c, sound_oss.c: improve turbo mode for SDL build with synchronized sound and OSS sound
1706
1707
1708 2010-04-20 James Wilkinson <[email protected]>
1709 * atari.c, monitor.[ch] DOC/trainer.txt: committed trainer searcher by Achim Haertel.
1710
1711 * atari.[ch], ui.c: committed savestate sound patch by Tomasz Krasuski.
1712
1713
1714 2010-04-19 James Wilkinson <[email protected]>
1715 * akey.h, atari.[ch], atari_sdl.c, atari_x11.c, ui.c, dos/atari_vga.c, win32/atari_win32.c:
1716 Added support for F12 turbo mode.
1717
1718 * win32/joystick.c: do not stop joystick enumeration on dual stick settings failure
1719
1720 * emuos.h, emuos.lis: update for 2010
1721
1722 * win32/atari_win32.h, win32/keyboard.c: DirectInput cleanup
1723
1724
1725 2010-04-16 James Wilkinson <[email protected]>
1726 * win32/atari_win32.c: correct keystroke auto-repeat
1727
1728
1729 2010-03-23 Perry McFarlane <[email protected]>
1730 * DOC/USAGE, atari.c, configure.ac, mzpokeysnd.c, pbi.c, pbi_xld.[ch],
1731 pokey.c, pokeysnd.c, votrax.c, new files: voicebox.[ch], votraxsnd.[ch]:
1732 emulate the Alien Group Voice Box I and II
1733
1734
1735 2010-01-29 Piotr Fusik <[email protected]>
1736 * ui.h, ui_basic.c: changed source code from CRLF to LF
1737
1738
1739 2010-01-27 Perry McFarlane <[email protected]>
1740 * af80.[ch], atari.c: fix coldstart for AF80.
1741
1742
1743 2010-01-21 James Wilkinson <[email protected]>
1744 * win32/render_direct3d.cpp: disable extended functions if supporting runtime not installed.
1745
1746 * configure.ac: remove dependency on libd3dx9.
1747
1748
1749 2010-01-19 James Wilkinson <[email protected]>
1750 * pbi_proto80.c: prevent extra carriage return in config file setting.
1751
1752 * win32/sound.c: don't try to reinit sound (causes crash) if -nosound was used.
1753
1754
1755 2010-01-18 James Wilkinson <[email protected]>
1756 * ui.[ch], win32/atari_win32.c, win32/render_direct3d.*, win32/render_gdi.c, win32/render_gdiplus.cpp, win32/screen_win32.[ch]:
1757 Committed updated DirectX display enhancements from David Dahlstrom.
1758
1759 * pbi_bb.c, pbi_mio.c, pbi_xld.c: prevent extra carriage returns in config file rom settings.
1760
1761
1762 2010-01-17 James Wilkinson <[email protected]>
1763 * configure.ac: define SUPPORTS_PLATFORM_CONFIGSAVE and SUPPORTS_PLATFORM_CONFIGURE for DirectX build.
1764
1765
1766 2010-01-14 Piotr Fusik <[email protected]>
1767 * win32/msc/config.h: #define WIN32 -> HAVE_WINDOWS_H
1768
1769 * win32/render_gdi.obj: was incidentally committed
1770
1771
1772 2010-01-13 James Wilkinson <[email protected]>
1773 * configure.ac: removed -Wredundant-decls for BeOS
1774
1775 * configure.ac, ui.c, win32/render_*.*, win32/screen_win32.[ch], win32/main.*:
1776 Changes to support new DirectX code under gcc.
1777
1778 * configure.ac, atari.[ch], atari_sdl.c, compfile.c, devices.c, platform.h, pokey.c, rdevice.c, rtime.c, ui.[ch], ui_basic.c, util.[ch], wince/port/missing.h:
1779 Changes from WIN32 to DIRECTX and HAVE_WINDOWS_H definitions.
1780
1781
1782 2010-01-12 James Wilkinson <[email protected]>
1783 * atari_sdl.c:
1784 Committed patch by Tomaz Krasuski to fix DirectX default for Win32 SDL driver.
1785 Also made change to correct garbage column in some scaling modes.
1786
1787
1788 2010-01-10 Piotr Fusik <[email protected]>
1789 * util/colormix.asx, util/colormix.xex: program for testing PAL delay line;
1790 use arrow keys and space
1791
1792
1793 2010-01-07 Piotr Fusik <[email protected]>
1794 * ui.c: wrapped UpdateColourControls into ifdef
1795
1796 * colours.c, colours_ntsc.c, colours_pal.c, sio.c: killed MSVC warnings
1797
1798 * win32/msc/config.h, win32/msc/Makefile: updated (colour_ntsc etc.)
1799
1800 Commiting patch submitted by David Dahlstrom <[email protected]>
1801 * platform.h, ui.c, ui.h, ui_basic.c, win32/atari_win32.[ch],
1802 win32/joystick.[ch], win32/main.[ch], win32/main.cpp, win32/render_*.*,
1803 win32/screen_win32.[ch]: display and controller enhancements
1804
1805
1806 2009-12-28 Piotr Fusik <[email protected]>
1807 * configure.ac, devices.c: MKDIR_TAKES_ONE_ARG for MinGW
1808
1809 * colours_ntsc.h: M_PI for MinGW
1810
1811 Commiting patch submitted by Tomasz Krasuski <[email protected]>
1812 * DOC/USAGE, atari.c, atari800.man, atari_sdl.c, colours.[ch],
1813 colours_external.[ch], colours_ntsc.[ch], colours_pal.[ch] filter_ntsc.[ch],
1814 configure.ac, ui.c, atari_ntsc/atari_ntsc.[ch],
1815 atari_ntsc/atari_ntsc_config.h, atari_ntsc/atari_ntsc_impl.h:
1816 1. Removed Atari800-specific code from the atari_ntsc library, and placed it
1817 in a new module, FILTER_NTSC. This new module serves as an interface between
1818 Atari800 and Blargg's library.
1819 2. Removed the palette generation code from atari_ntsc and placed it in a new
1820 module, COLOURS_NTSC. Palette generation is from now on used both in
1821 "standard" mode and in NTSC-filtered mode. Old default palettes have been
1822 removed from the COLOURS module.
1823 3. Introduced a new module, COLOURS_PAL, that includes improved routines for
1824 PAL palette generation. PAL Ataris produce colours in a similar way to NTSC
1825 ones; the only difference lies in phases of hues in YIQ (or YUV) colourspace.
1826 Unfortunately, while differences between hue phases are constant in NTSC,
1827 it's not the case in PAL. I have failed in trying to develop a formula that
1828 lies behind PAL hue phases, so I gave up on that; instead I measured PAL hue
1829 phases based on several screenshots, and stuffed them in the colour_angles
1830 table (see colours_pal.c->GeneratePalette()). The result looks very plausible
1831 and accurately represents colours of my 65XE, at least.
1832 4. Controls for contrast, brightness, saturation, gamma, hue and colordelay
1833 now apply to both NTSC and PAL palettes (hue and colordelay only to NTSC),
1834 regardless of NTSC filter. Palette generation is now on by default, therefore
1835 parameters -genpaln/p are not needed anymore.
1836 5. Support for externally-loaded palettes has moved to a new module,
1837 COLOURS_EXTERNAL. Brightness, contrast, saturation and gamma can now be
1838 applied also to external palettes (-paletten-adjust and -palettep-adjust
1839 parameters).
1840 6. NTSC filter also supports external palettes.
1841 7. Added new and changed a few of existing colour-related command-line
1842 parameters.
1843 8. Keyboard shortcuts in SDL have been shuffled a bit, so that controls
1844 usable only for NTSC filter lie next to each other.
1845 9. Display Settings menu has been expanded - now it includes controls for
1846 adjusting all colour settings (including NTSC filter settings), and also
1847 loading and unloading of external palettes.
1848 10. A new functionality has been added - saving the current colours (with
1849 adjustments) to a palette file. See Display Settings->Save current palette.
1850
1851
1852 2009-12-13 Perry McFarlane <[email protected]>
1853 * /DOC/USAGE, atari_sdl.c, platform.h, ui.c, xep80.c:
1854 All 80 column modes work like XEP80 with alt-shift-X to switch screens.
1855 Rename PLATFORM_SwitchXep80() to PLATFORM_Switch80(), PLATFORM_xep80 to
1856 PLATFORM_show_80.
1857
1858
1859 2009-12-07 Perry McFarlane <[email protected]>
1860 * USAGE, af80.[ch], atari.c, atari_sdl.c, cartridge.c, cfg.c, configure.ac,
1861 cpu.[ch], monitor.c, pbi.c, TODO:
1862 Austin Franklin 80 Column card
1863 Execution history now stores opcode data.
1864 update TODO
1865
1866
1867 2009-11-21 Perry McFarlane <[email protected]>
1868 * sio.c: replace random with rand for portability
1869 Commiting patch submitted by Tomasz Krasuski <[email protected]>
1870 * DOC/USAGE, Makefile.in, atari.c, atari800.man, atari_ntsc.[ch] (removed),
1871 atari_ntsc/atari_ntsc.[ch], atari_ntsc/atari_ntsc.config.h,
1872 atari_ntsc/atari_ntsc_impl.h, atari_sdl.c, configure.ac:
1873 Update to atari_ntsc based on Blargg's nes_ntsc 0.2.2, correct colour phases,
1874 other fixes.
1875
1876
1877 2009-10-08 Piotr Fusik <[email protected]>
1878 Commiting patch submitted by Tomasz Krasuski <[email protected]>
1879 * atari_sdl.c: fixed missing leftmost column in 16bpp and 32bpp modes
1880
1881
1882 2009-09-29 Piotr Fusik <[email protected]>
1883 * ui.c: sf.net bug #2868897 "Build fails on platforms without sound"
1884
1885
1886 2009-09-20 Perry McFarlane <[email protected]>
1887 * atari_sdl.c: fix support of -nosound with SYNCHRONIZED_SOUND
1888 * Makefile.in: use more memory for javac for javanvm version
1889 * input.c: remove unused result variable from call to mouse_step() to
1890 suppress warning.
1891 * javanvm/atari800.java: fix an issue with the screen sometimes not showing.
1892
1893
1894 2009-09-18 Perry McFarlane <[email protected]>
1895 * DOC/BUGS, atari.[ch], atari_sdl.c, cfg.c, configure.ac, mzpokeysnd.[ch],
1896 pbi_xld.c, platform.h, ui.c USAGE : added synchronized sound for the SDL
1897 version.
1898 Sound can now be generated in sync with the rest of the emulation and not in a
1899 separate thread. VOL_ONLY_SOUND is no longer needed. GTIA and POKEY
1900 digisounds now work properly. The old pokeysnd.c will not work with
1901 synchronized sound, only mzpokeysnd will be supported. 16 bit sound is now
1902 the default for SDL. Use -audio8 for 8 bit SDL sound.
1903 Improved mzpokeysnd speed somewhat.
1904
1905
1906 2009-08-12 Piotr Fusik <[email protected]>
1907 Commiting a modified patch from Magnus Lind <[email protected]>
1908 * input.c: fix for trak-ball (cx22) emulation: bits 0 and 3 keep
1909 the last direction
1910
1911
1912 2009-07-18 Petr Stehlik <[email protected]>
1913 * configure.ac: patch from Patrice Mandin for gemlib autodetection
1914
1915
1916 2009-06-30 Piotr Fusik <[email protected]>
1917 Commiting patch submitted by Tomasz Krasuski <[email protected]>
1918 * atari_sdl.c, compfile.c: changed "#ifdef linux" to "#ifdef __linux__"
1919
1920
1921 2009-04-18 Perry McFarlane <[email protected]>
1922 * sio.c: sio fix broke BINLOAD
1923
1924
1925 2009-04-17 Perry McFarlane <[email protected]>
1926 * sio.c: fix sio for AMS music player
1927
1928
1929 2009-03-30 Perry McFarlane <[email protected]>
1930 * gtia.c: compile without NEW_CYCLE_EXACT
1931
1932
1933 2009-03-30 Petr Stehlik <[email protected]>
1934 * atari800.spec: png library added to dependencies.
1935
1936
1937 2009-03-27 Piotr Fusik <[email protected]>
1938 * win32/atari_win32.c: missing return value in PLATFORM_Initialise
1939 * win32/.cvsignore: atari.res
1940
1941
1942 ** 2.1.0 released on 2009-03-27
1943
1944 2009-03-27 Petr Stehlik <[email protected]>
1945 * atari800.spec: added dependencies to SDL, ncurses, zlib and readline
1946 * debian/control: added dependency to libreadline5-dev
1947 * debian/changelog, debian/atari800.cfg: updated for release
1948 * emuos.{h,lis}: (c) 2005 -> 2009
1949 * DOC/FAQ: updated for release (SDL keyboard joysticks are configurable now)
1950 * DOC/NEWS: yet another update (thanks Piotr for help with final editing)
1951
1952
1953 2009-03-27 Piotr Fusik <[email protected]>
1954 * DOC/TODO: updated
1955
1956
1957 2009-03-26 Petr Stehlik <[email protected]>
1958 * DOC/NEWS, DOC/CREDITS, atari800.man, atari.spec, README: release update
1959 * configure.ac, atari.h, util/export: version increased
1960
1961
1962 2009-03-23 Petr Stehlik <[email protected]>
1963 * DOC/NEWS, DOC/CREDITS: updated for upcoming release
1964 * configure.ac: readline support in monitor enabled by default,
1965 simple Autoconf readline check added.
1966
1967
1968 2009-03-22 Perry McFarlane <[email protected]>
1969 * atari_sdl.c: fix warning
1970 * atari.c: fix basic/curses version compile error
1971 * DOC/TODO: update
1972
1973
1974 2009-03-20 Petr Stehlik <[email protected]>
1975 Commiting patch submitted by Tomasz Krasuski <[email protected]>
1976 * too_many_files: check for existence of required parameter of some command
1977 line options before using it. Let all *_Initialise() functions return
1978 status (FALSE in case something failed).
1979
1980
1981 2009-03-17 Piotr Fusik <[email protected]>
1982 * colours.c, win32/sound.c: killed MSVC 2008 warnings
1983
1984
1985 2009-03-16 Perry McFarlane <[email protected]>
1986 * antic.c: fix for Ilusia demo
1987
1988
1989 2009-03-01 Perry McFarlane <[email protected]>
1990 * DOC/USAGE, input.c: specify CX85 port
1991 * atari_sdl.c: minor fix for CX85
1992
1993
1994 2009-02-28 Perry McFarlane <[email protected]>
1995 * /DOC/USAGE akey.h atari_sdl.c javanvm/atari_javanvm.c input.[ch]: Emulate
1996 CX85 numeric keypad
1997
1998
1999 2009-02-25 Perry McFarlane <[email protected]>
2000 Commiting patch submitted by Tomasz <[email protected]> with my changes
2001 * atari.c atari_sdl.c atari_ntsc.[ch] configure.ac platform.h ui.c: NTSC
2002 Filter option in the UI.
2003
2004
2005 2009-02-05 Perry McFarlane <[email protected]>
2006 Commiting patch submitted by Tomasz Krasuski <[email protected]>
2007 * atari_sdl.c: cleaned up display modes.
2008
2009
2010 2009-01-11 Petr Stehlik <[email protected]>
2011 Commiting patch submitted by Tomasz Krasuski <[email protected]>
2012 * atari_sdl.c: -audio16 fixed
2013 * pokeysnd.[ch]: Sound recording must stop when POKEY is reinitialised
2014 * sndsave.c: Chunks in WAV format must be word-aligned,
2015 16-bit sound recording fixed.
2016
2017
2018 2008-12-27 Petr Stehlik <[email protected]>
2019 Commiting patch submitted by Tomasz Krasuski <[email protected]>
2020 * atari.c: initialize color palette after loading saved state
2021 * cfg.c, mzpokeysnd.c, pokeysnd.c, ui.c: serio_sound* -> POKEYSND_serio_sound*
2022
2023
2024 2008-11-03 Perry McFarlane <[email protected]>
2025 * configure.ac: fix syntax error
2026
2027
2028 2008-10-30 Perry McFarlane <[email protected]>
2029 * memory.c: 5200 GTIA c000-cfff and POKEY e800-efff mirrors.
2030 * configure.ac: minor fix for Cygwin.
2031
2032
2033 2008-10-29 Perry McFarlane <[email protected]>
2034 * afile.[ch], atari.c, sio.c: Support .pro images
2035 * ui.c: replace ^R in source with \022
2036 * pbi_bb.c, pbi_mio.c: correct Util_filenamenotset error.
2037 * mzpokeysnd.c, pokey.c, pokey.h: rename SKCTLS -> SKCTL
2038 * monitor.c: 5200 equates.
2039 * DOC/BUGS: add Extract demo.
2040 * Makefile.in: use NestedVM javasource and UnixRuntime by default
2041 * monitor.c: SKCTL and SKSTAT in pokey state output.
2042
2043
2044 2008-10-13 Matthias Reichl <[email protected]>
2045 * pokey.c: fixed the ALLPOT register - it didn't work
2046 and there was an access outside array bounds
2047
2048
2049 2008-09-21 Petr Stehlik <[email protected]>
2050 * ui.c: visual configuration of keyboard joysticks layout, at long last!
2051 Currently for the SDL target only. Also default joystick mapping
2052 changed to num pad 4,8,6,5 + right ctrl and A,W,D,S + left ctrl keys.
2053 Feel free to set up your own mapping and then save the configuration.
2054
2055 * atari_sdl.c: removed keys for combined joystick directions (left+up, etc.)
2056
2057 * util.[ch]: safe_strncpy() added
2058
2059
2060 2008-09-21 B Watson <[email protected]>
2061 * input.[ch]: "-directmouse" added (directly converting the mouse's absolute
2062 X/Y position to the POKEY pot. Used only for "-mouse pad", "-mouse koala",
2063 or "-mouse touch". The "-mousespeed" option does nothing when "-directmouse"
2064 is enabled.
2065
2066 * atari_sdl.c: mouse support ("-mouse xxx", "-mousespeed N") added, including
2067 the direct mouse support. Also adds a new "-grabmouse" command line option
2068 and a new keystroke, alt-M, to grab/ungrab the mouse.
2069
2070 * atari_x11.c: direct mouse support added
2071
2072
2073 2008-09-17 Piotr Fusik <[email protected]>
2074 * win32/msc/Makefile: added new source files
2075
2076
2077 2008-09-17 B Watson <[email protected]>
2078 * configure.ac, monitor.c: --enable-readline option for the configure script
2079 - the monitor supports arrow keys (including up-arrow for command history),
2080 home/end, etc. using the "readline" library
2081
2082
2083 2008-08-28 Perry McFarlane <[email protected]>
2084 * javanvm/atari800.java: gain applet focus
2085 * sio.h: remove Id tag
2086 * xep80.c: XEP80_BlitGraphChar(int x, int y), add int before x and y
2087 * pokeysnd.[ch], mzpokeysnd.c: SAMPBUF_MAX -> POKEYSND_SAMPBUF_MAX
2088 * mzpokeysnd.c, pokeymix.inc: changed NONLINEAR_MIXING to use a better
2089 method, pokeymix.inc is no longer needed.
2090
2091
2092 2008-08-22 Petr Stehlik <[email protected]>
2093 * atari_svgalib.c, configure.ac, Makefile.in, DOC/*: SVGAlib target dropped
2094 definitely. SVGAlib is long time dead and running programs setuid 'root'
2095 is so dangerous. Use/improve the SDL target instead!
2096
2097
2098 2008-07-12 Perry McFarlane <[email protected]>
2099 * most files: finished renaming globals. New files: akey.h, (AKEY_*),
2100 esc.[ch](patches), afile.[ch](file loading), cfg.[ch] (configuration),
2101 ui_basic.h
2102
2103
2104 2008-07-03 Perry McFarlane <[email protected]>
2105 * remez.[ch], mzpokeysnd.c: rename Remez_, remez -> Remez_CreateFilter.
2106 * devices.[ch], atari.c, binload.c, rdevice.c, ui.c: rename Devices_, Device_
2107 -> Devices.
2108 * cpu.[ch], antic.c, atari.c, binload.c, cassette.c, devices.c,
2109 input.c, monitor.c, pbi.c, pbi_bb.c, pbi_mio.c, pokey.c, rdevice.c, sio.c,
2110 ui.c: rename CPU_.
2111 * sio.[ch], atari.c, atari_x11.c, binload.c, pbi_xld.c, pia.c, pokey.c,
2112 screen.c, ui.c: rename SIO_
2113
2114
2115 2008-07-02 Perry McFarlane <[email protected]>
2116 * javanvm/atari_javanvm.c: compile without SOUND
2117 * atari_sdl.c: name changes
2118 * sndsave.[ch], atari.c, pokeysnd.c, ui.c: rename externals with SndSave_
2119 * statesav.[ch], antic.c, atari.c, cartridge.c, cpu.c, dc/atari_dc.c, gtia.c,
2120 memory.c, pbi.c, pbi_bb.c, pbi_mio.c, pbi_xld.c, pia.c, pokey.c, sio.c, ui.c,
2121 xep80.c: rename externals with StateSav_
2122 * log.[ch], antic.c, atari.c, atari_basic.c, atari_curses.c, atari_falcon.c,
2123 atari_ntsc.c, atari_ps2.c, atari_sdl.c, atari_svgalib.c, atari_x11.c,
2124 binload.c, cassette.c, colours.c, devices.c, dos/atari_vga.c, dos/dos_sb.c,
2125 dos/sound_dos.c, input.c, javanvm/atari_javanvm.c, memory.c, pbi_bb.c,
2126 pbi_mio.c, pbi_xld.c, rdevice.c, remez.c, rtime.c, screen.c, sio.c,
2127 sound_oss.c, statesav.c, ui_basic.c, win32/atari_win32.c, win32/joystick.c,
2128 win32/screen_win32.c, win32/sound.c, wince/port/atari_wince.c,
2129 wince/port/sound.c, xep80.c: rename externals with Log_, Aprint -> Log_print
2130 Aflushlog -> Log_flushlog.
2131 * compfile.[ch], sio.c, ui.c rename CompressedFile_ to CompFile_ so that it
2132 matches the filename.
2133 * xep80_fonts.[ch] xep80.c: rename externals with XEP80_Fonts_.
2134 * votrax.[ch], pbi_xld.c: rename externals with Votrax_, INT16 -> SWORD.
2135 * binload.[ch], atari.c, cartridge.c, devices.c, sio.c: rename externals with
2136 BINLOAD_
2137 * colours.[ch], atari.[ch], atari_falcon.c, atari_ps2.c, atari_sdl.c,
2138 atari_svgalib.c, atari_x11.c, dc/atari_dc.c, dos/atari_vga.c, atari_javanvm.c,
2139 screen.c, win32/screen_win32.c, wince/port/screen_wince.cpp: rename externals
2140 with Colours_, Palette -> Colours_ so that it matches the filename.
2141 * screen.[ch], antic.c, atari.[ch], atari_falcon.c, atari_ps2.c, atari_sdl.c,
2142 atari_x11.c, dc/atari_dc.c, dos/atari_vga.c, input.c, ui.c,
2143 ui_basic.c, win32/atari_win32.c, wince/port/atari_wince.c, wince/port/main.c,
2144 wince/port/screen_wince.cpp: rename externals to Screen_, atari_screen ->
2145 Screen_atari, etc. move entire_screen_dirty from antic.c to screen.c, rename
2146 Screen_EntireDirty.
2147 * xep80.[ch]: rename ATARI_EOL -> XEP80_ATARI_EOL
2148 * rtime.[ch], cartridge.c, ui.c: rename rtime_enabled -> RTIME_enabled
2149 * cassette.[ch], atari.c, gtia.c, input.c, sio.c, ui.c, rename CASSETTE_, make
2150 some vars static.
2151 * rdevice.[ch], devices.c, atari.c: rename RDevice_
2152 * monitor.[ch], atari_basic.c, atari_curses.c, atari_falcon.c, atari_ps2.c,
2153 atari_sdl.c, atari_svgalib.c, atari_x11.c, cpu.c, dos/atari_vga.c,
2154 win32/atari_win32.c: rename Monitor_
2155
2156
2157 2008-06-30 Perry McFarlane <[email protected]>
2158 * atari.c, atari_sdl.c, configure.ac, javanvm/atari800.java,
2159 javanvm/atari_javanvm.c, pokeysnd.c, sound.h, ui.c, win32/sound.c:
2160 add support for stereo, new sound.h function Sound_Reint on some platforms,
2161 fixes to sdl sound, minor fixes.
2162 * win32/sound.c: fix STEREO_SOUND undefined
2163
2164
2165 2008-06-29 Perry McFarlane <[email protected]>
2166 * configure.ac: -source 1.4 to suppress javac warnings
2167
2168
2169 2008-06-28 Perry McFarlane <[email protected]>
2170 * memory.h: suppress PAGED_MEM warning
2171
2172
2173 2008-06-27 Perry McFarlane <[email protected]>
2174 * atari.c: add -basic_rom none
2175 * Makefile.in fix javanvm variables
2176 * util.[ch] cassette.c, configure.ac: Util_strncpy to fix javanvm bug
2177 * INSTALL, UnixRuntime.patch, atari800.java, atari_javanvm.c: Java applet
2178
2179
2180 2008-06-24 Perry McFarlane <[email protected]>
2181 * pbi.[ch], pbi_xld.[ch], pbi_bb.[ch], pbi_mio.[ch], statesav.c: state saving
2182 for MIO, Black Box, XLD.
2183
2184
2185 2008-06-19 Perry McFarlane <[email protected]>
2186 * ui.c, xep80.c: improve XEP80 state saving
2187
2188
2189 2008-06-18 Perry McFarlane <[email protected]>
2190 * DOC/CREDITS, DOC/TODO, USAGE, atari.c, atari_sdl.c, configure.ac, pia.c,
2191 platform.h, statesav.c, ui.c, xep80.[ch], xep80_fonts.[ch]:
2192 Added XEP80 emulation by Mark Grebe to the SDL version, from Atari800MacX
2193
2194
2195 2008-06-18 Christian Groessler <[email protected]>
2196 * dc/atari_dc.c (Atari_Keyboard): recognize TAB key.
2197 * atari_x11.c (Atari_DisplayScreen): add missing XSync call in not-SHM
2198 part.
2199 * ui.c, ui.h: add additional parameter to the fMessage function,
2200 indicating whether to wait for a key press. Display a "please wait"
2201 message in SaveState and LoadState.
2202 * ui_basic.c: adapt to fMessage change. Change BasicUIMessage to use
2203 the new parameter and clear status line before writing the new
2204 message.
2205
2206
2207 2008-06-15 Christian Groessler <[email protected]>
2208 * rdevice.c, dc/Makefile.dc, dc/config.h, dc/atari_dc.c: add serial R:
2209 support for Dreamcast
2210
2211
2212 2008-06-14 Perry McFarlane <[email protected]>
2213 * input.c: 5200 bit 5 toggle fix (Star Trek)
2214 * atari_sdl.c, input.c: fix shift+control keys
2215 * atari_sdl.c, dos/atari_vga.c, javanvm/atari_javanvm.c,
2216 win32/atari_win32.c: further shift+control fixes
2217 * USAGE: updated keyboard
2218 * statesav.c: fix gzFile
2219
2220
2221 2008-06-13 Perry McFarlane <[email protected]>
2222 * rdevice.c, configure.ac: fix for win32 R: device
2223 * pokey.c: IRQEN fix
2224 * pokeysnd.c: add #ifdef PBI_XLD
2225
2226
2227 2008-06-12 Christian Groessler <[email protected]>
2228 * rdevice.c, configure.ac: R: device now not longer inherently supports
2229 network (with serial as an additional option). Now serial-only,
2230 network-only, or both can be selected.
2231
2232
2233 2008-05-31 Piotr Fusik <[email protected]>
2234 * atari.c, pokey.c: made the BASIC version compilable
2235
2236
2237 2008-05-29 Perry McFarlane <[email protected]>
2238 * atari_sdl.c, cassette.c, input.c, memory.c, pbi_bb.c, pbi_proto80.c,
2239 pbi_xld.c, pokeysnd.c, sio.c, statesav.c, ui.h, util.[ch], votrax.c:
2240 made compilable with g++. Fixed some bugs, and a bugfix for pbi_xld.c,
2241 other minor fixes.
2242
2243
2244 2008-05-28 Perry McFarlane <[email protected]>
2245 * DOC/USAGE, atari_sdl.c, configure.ac, pbi.c, pbi_proto80.c, pbi_proto80.h,
2246 pbi_xld.c: added emulation of a prototype 80 column card for the Atari 1090
2247 expansion box (SDL version). Also fixed a problem with LoadImage in pbi_xld.c
2248 * DOC/INSTALL: Improved documentation a bit, suggested use of SDL.
2249 * input.[ch], pokey.c: record random_scanline_counter for event recording.
2250
2251
2252 2008-05-27 Perry McFarlane <[email protected]>
2253 * antic.c, atari_ntsc.h, cassette.c, gtia.c, joycfg.c, monitor.c,
2254 mzpokeysnd.c, pbi.c, pokeysnd.c, screen.c, sio.c, votrax.c:
2255 Some spelling in comments corrected.
2256 * mzpokeysnd.c: fix warnings
2257
2258
2259 2008-05-26 Perry McFarlane <[email protected]>
2260 * antic.[ch], atari.[ch], atari_sdl.c, cartridge.h, cassette.c, cpu.h,
2261 gtia.[ch], javanvm/atari_javanvm.c, mzpokeysnd.c, pbi_bb.c, pbi_mio.c,
2262 pbi_scsi.c, pbi_xld.[ch], pia.h, platform.h, pokey.h, rtime.[ch], sio.h,
2263 statesav.c, ui.c, ui_basic.c, util.[ch], votrax.[ch]:
2264 I compiled with:
2265 CC = gcc -ansi -pedantic -Wall -Waggregate-return -Wmissing-declarations
2266 -Wmissing-prototypes -Wredundant-decls -Wstrict-prototypes -Winline
2267 and I found missing headers and lack of static in many places.
2268 Black Box and MIO will now continue with SCSI disabled if the disk image
2269 is not found.
2270
2271 * Makefile.in, configure.ac, cpu.c, atari_vga.c, sound_dos.c, vga_gfx.c,
2272 javanvm/atari_javanvm.c, rdevice.c, win32/atari_win32.c, win32/keyboard.h,
2273 win32/main.h, win32/screen_win32.c:
2274 Made windx, sdl, and javanvm compile with -ansi -pedantic. Fixed more
2275 warnings. Made improved gcc warnings the default for windx, sdl, javanvm
2276 and dosvga.
2277
2278 * rdevice.c: removed // comments and warnings.
2279
2280 * cpu.c: gcc will use goto and use of __extension__ will avoid -pedantic
2281 warnings.
2282
2283
2284 2008-05-25 Perry McFarlane <[email protected]>
2285 * atari_sdl.c, cpu.c, pbi_mio.c, pbi_xld.c, win32/atari_win32.c,
2286 win32/screen_win32.c: some gcc -ansi -pedantic fixes
2287
2288
2289 2008-05-25 Piotr Fusik <[email protected]>
2290 * win32/msc/Makefile: added votrax and pbi_xld
2291
2292 * sio.c, pbi_xld.c: made compilable with VC2005
2293
2294
2295 2008-05-25 Perry McFarlane <[email protected]>
2296 * votrax.[ch] vtxsmpls.inc pbi.[ch] pbi_xld.[ch] pbi_mio.[ch] pbi_bb.[ch]
2297 pbi_scsi.[ch] sio.[ch] atari.c configure.ac atari_sdl.c
2298 dos/atari_vga.c javanvm/atari_javanvm.c win32/atari_win32.c memory.c
2299 pokeysnd.c DOC/CREDITS DOC/README DOC/TODO DOC/USAGE:
2300 Added emulation of the 1400XL, 1450XLD, MIO and Black Box.
2301
2302
2303 2008-05-24 Achim Haertel <[email protected]>
2304 * cassette.c: implemented loading with variable baud rate
2305
2306
2307 2008-05-22 Petr Stehlik <[email protected]>
2308 * cpu_m68k.asm: made linkable (missing cim_encountered and rts_handler).
2309 Surprisingly it is working (ATARI BASIC READY) eventhough it is 5 years
2310 outdated and needs many changes to be in sync with cpu.c again.
2311
2312 * cpu_m68k.S: made compilable and linkable. It even sort of works but
2313 fails before reaching the ATARI BASIC READY prompt :-( The conversion
2314 is still not correct but debugging it is hard...
2315
2316
2317 2008-05-21 Petr Stehlik <[email protected]>
2318 * atari_x11.c: removed "-fps" support, use "-showspeed" instead
2319 * USAGE, atari800.man: updated wrt. removed "-fps"
2320 * cpu_m68k.S: added fresh conversion of 5 years outdated cpu_m68k.asm
2321 * configure.ac: default LDFLAGS will be without the "-s" (strip binary)
2322 since package maintainers don't like autostriping of the debug symbols.
2323
2324
2325 2008-05-20 Petr Stehlik <[email protected]>
2326 * .asm->.S: Devpac syntax of asm files converted to gcc one
2327 * gst2gcc: removed, no longer needed
2328 * Makefike.in: updated for compiling/assembling the .S files
2329 * atari_falcon.c: corrected include path to "falcon.h"
2330 * atari.c: corrected C++-ism (my old gcc 2.91 didn't like it)
2331 * DOC/INSTALL.falcon updated (an optimized rebuild script added)
2332
2333
2334 2008-05-15 Perry McFarlane <[email protected]>
2335 * rdevice.[ch] atari.c configure.ac: Windows support for R: device.
2336 * USAGE: added record/playback
2337
2338
2339 2008-05-14 Perry McFarlane <[email protected]>
2340 * input.c: stdlib for exit()
2341
2342
2343 2008-05-13 Perry McFarlane <[email protected]>
2344 * configure.ac: nonlinear mixing minor fix
2345 * input.[ch], configure.ac, pokey.c, atari.c, TODO: event recording
2346
2347
2348 2008-05-11 Perry McFarlane <[email protected]>
2349 * dos/atari_vga.c, configure.ac: Atari_PaletteUpdate
2350 * win32/sound.c, pokeysnd.h SND_STEREO removed (obsolete)
2351
2352
2353 2008-05-10 Perry McFarlane <[email protected]>
2354 * mzpokeysnd.c, pokeymix.inc: use shorts for smaller file size with table
2355
2356
2357 2008-05-09 Perry McFarlane <[email protected]>
2358 * mzpokeysnd.c, pokey.c: fixed two-tone
2359
2360
2361 2008-05-08 Petr Stehlik <[email protected]>
2362 * atari.c: get rid of #ifdef USE_CLOCK and also #ifdef DONT_SYNC_WITH_HOST
2363 * configure.ac: get rid of USE_CLOCK for Falcon
2364
2365
2366 2008-05-07 Petr Stehlik <[email protected]>
2367 * screen.c: DrawAtariSpeed() now computes the real speed by itself and always
2368 shows it (if enabled) even if it is at 100% or around (previously it was
2369 hidden when in range 99% - 101%). It even shows speed < 100% (previously
2370 it didn't) - hopefully this will help profiling various ./configure
2371 options on slow Atari800 hosts.
2372
2373 * atari.c: just some cleanup around the atari_sync(), no functional changes.
2374
2375
2376 2008-05-07 Perry McFarlane <[email protected]>
2377 * mzpokeysnd.c, configure.ac, pokey.h, pokeymix.inc: Nonlinear mixing,
2378 two-tone filter, corrected STIMER.
2379
2380
2381 2008-05-05 Perry McFarlane <[email protected]>
2382 * javanvm/atari_javanvm.c, atari_sdl.c: remove // comments
2383 * javanvm/atari800.java: fix frame.pack()
2384 * Makefile.in, DOC/INSTALL: changed to make jar file by default for Java
2385 * Makefile.in: added comments to build from NestedVM javasource compiler
2386
2387
2388 2008-04-16 Piotr Fusik <[email protected]>
2389 * antic.c, atari.c, memory.c: in C code local variable definitions should
2390 precede statements
2391
2392
2393 2008-04-16 Achim Haertel <[email protected]>
2394 * cassette.[ch], pia.c, pokey.c, screen.c, sio.[ch]:
2395 implemented raw writing (via HW registers, not SIO) to cassette files
2396
2397
2398 2008-04-08 Perry McFarlane <[email protected]>
2399 * javanvm/atari_javanvm.c, javanvm/atari800.java, configure.ac: sound support
2400 for the Java NestedVM port
2401
2402
2403 2007-11-28 Marcin Zukowski <[email protected]>
2404 * cartridge.c: fixed Atrax cartridge bank switching
2405
2406
2407 2007-10-19 Perry McFarlane <[email protected]>
2408 * javanvm/atari_javanvm.c: keypad fix
2409
2410
2411 2007-10-18 Perry McFarlane <[email protected]>
2412 * javanvm/atari_javanvm.[ch] javanvm/atari800.java added for Java NestedVM
2413 port configure.ac, Makefile.in, platform.h, INSTALL, USAGE: modified for
2414 NestedVM port
2415
2416 * screen.c, USAGE: -showspeed command line option
2417 * win32/*: suppress gcc warnings
2418 * win32/screen_win32.c, configure.ac: support Atari_PaletteUpdate
2419
2420
2421 2007-10-11 Perry McFarlane <[email protected]>
2422 * devices.h: make h_current_dir extern
2423 * monitor.c: COLOUR -> COLOR
2424
2425
2426 2007-10-04 Perry McFarlane <[email protected]>
2427 * colours.[ch], atari.[ch], platform.h, USAGE, atari_sdl.c, atari_ntsc.c,
2428 configure.ac, TODO: added support for switching between NTSC and PAL
2429 palettes.
2430 The platform-specific function Atari_PaletteUpdate is now required in those
2431 ports which calculate their own palette from colortable. The SDL version
2432 is working but other ports will need to be updated.
2433
2434
2435 2007-10-02 Perry McFarlane <[email protected]>
2436 * antic.c: cleaner macros
2437 * cycle_map.c: minor cleanup
2438 * ui.c, README, amiga/Atari800.guide: GPL version 2 now, not 1
2439 * most files: FSF address change in GPL notices.
2440
2441
2442 2007-09-30 Perry McFarlane <[email protected]>
2443 * antic.c: Added better support for GTIA bug mode.
2444
2445
2446 2007-09-12 Perry McFarlane <[email protected]>
2447 * memory.c: Fix PAGED_MEM error (missing break in switch) with POKEY in
2448 loading saved states.
2449
2450 * memory.[ch], statesav.c, cpu.c Support Axlon and Mosaic state saving.
2451 SAVE_VERSION_NUMBER upgraded to from 4 to 5
2452
2453
2454 2007-09-06 Perry McFarlane <[email protected]>
2455 * memory.[ch], atari.c, TODO, USAGE: add Axlon and Mosaic RAM expansions
2456 for the 400/800.
2457
2458
2459 2007-08-04 Perry McFarlane <[email protected]>
2460 * memory.c: fix PBIM1/M2_Get/PutByte in MemStateRead
2461 * atari_ntsc.c: tweak default parameters a bit
2462
2463
2464 2007-08-02 Perry McFarlane <[email protected]>
2465 * atari_sdl.c: fix broken Caps Lock key handling
2466 * atari_sdl.c: reduce default NTSC scanlines percentage from 20 to 5
2467
2468
2469 2007-07-31 Perry McFarlane <[email protected]>
2470 * configure.ac, INSTALL: fix for windows sdl version. Don't use -mwindows or
2471 -Dmain=SDL_main and use -mno-cygwin on Cygwin. SDL_win32_main.c is now
2472 required from the sdl source. Update documentation in INSTALL. This fixes
2473 the stdout.txt problem.
2474
2475 * atari_sdl.c: fix for windows sdl version. Make SDL_VIDEODRIVER=directx by
2476 default because it is much faster. SDL 1.2.10+ uses windib as the default.
2477
2478 * atari_sdl.c: added interpolated scanlines, made it the default, added
2479 -scanlinesnoint option to disable it
2480
2481
2482 2007-07-30 Perry McFarlane <[email protected]>
2483 * configure.ac: fix for windows sdl version. Don't require winmm or gdi32
2484
2485
2486 ** 2.0.3 released on 2007-07-11
2487
2488 2007-04-23 Piotr Fusik <[email protected]>
2489 * win32/msc/Makefile: fixed a problem that appeared when I switched to another
2490 version of NMAKE ("fatal error U1100: macro '$@' is illegal in the context
2491 of batch rule '.c.obj'")
2492
2493
2494 2007-04-23 Paulo Lopes <[email protected]>
2495 * win32/atari_win32.c: new command-line option "-win32keys" for keyboard
2496 layouts different from US (the emulator relies on Win32 API to do scan code
2497 translations)
2498
2499
2500 2006-12-07 Paulo Lopes <[email protected]>
2501 * win32/main.c, win32/screen_win32.[ch]: an option to run the emulator
2502 in a window ("-windowed" on the command line)
2503
2504
2505 2006-11-05 Piotr Fusik <[email protected]>
2506 * DOC/PORTING: an introduction to writing platform-specific part of Atari800
2507
2508
2509 2006-10-31 Kostas Nakos <[email protected]>
2510 * util.c: Make sure user does not updir from the root in WinCE
2511
2512
2513 2006-10-30 Kostas Nakos <[email protected]>
2514 * wince/port/*, ui_basic.c, DOC/INSTALL.wince: added support for QVGA landscape
2515 smartphones, added the virtual keyboard (kb_ui) and updated documentation.
2516
2517
2518 2006-09-04 Piotr Fusik <[email protected]>
2519 * cartridge.[ch], ui.c, DOC/cart.txt: added 128 KB SpartaDOS X cartridge type,
2520 by the way: shortened the cartridge code and replaced letters with numbers
2521 for bank indexing in the documentation
2522
2523
2524 2006-07-23 Piotr Fusik <[email protected]>
2525 * input.[ch], atari_x11.c, win32/main.c: middle button support
2526 for ST and Amiga mice
2527
2528
2529 2006-07-21 Piotr Fusik <[email protected]>
2530 * antic.c: corrected PMG in bizarre ANTIC/GTIA modes
2531
2532
2533 2006-07-01 Mark Grebe <[email protected]>
2534 * antic.[ch], ui.c: new style of artifacting
2535
2536
2537 2006-06-29 Piotr Fusik <[email protected]>
2538 * win32/msc/Makefile, win32/msc/config.h, DOC/INSTALL:
2539 upgraded VC++ from 6.0 to 2005
2540
2541
2542 2006-05-01 Piotr Fusik <[email protected]>
2543 * util/act2html.*: replaced my old C program with a Perl script;
2544 the Perl script keeps hues from different palettes together
2545 which I think is better for palette comparisons
2546
2547 * util/colors.asx, util/colors.xex: Atari program that displays all 256 colors
2548
2549 * util/crlf.*, util/keyboard.txt, util/usage2html.pl: removed
2550
2551 * util/readme.txt: updated
2552
2553 * act/gray.act: 0x00,0x11,0x22,... instead of 0x00,0x10,0x20,...
2554
2555
2556 2006-04-24 Piotr Fusik <[email protected]>
2557 * util/sethdr.pl, util/sethdr.txt: removed; the script hasn't been updated
2558 for years (so it supported only half of current cartridge types),
2559 wasn't portable, etc. "Create Cartridge from ROM image" in the emulator
2560 basically does the job of the removed script.
2561
2562 * util/makebb.bat: removed; anyone who is serious about making a ROM image
2563 of "Bounty Bob Strikes Back 5200" by concatenating 3 files can read
2564 DOC/cart.txt
2565
2566
2567 ** 2.0.2 released on 2006-04-08
2568
2569 2006-04-08 Petr Stehlik <[email protected]>
2570 * atari_sdl.c: map ATARI key to SDL_BACKQUOTE key as well (similarly to DOS
2571 port) since LSUPER key (the WINDOW key) is unusable in MS Windows (it
2572 opens up the Start menu).
2573
2574 * config.{guess,sub}: updated to version from 2006-02-23
2575
2576 * debian/*: update for new release. Fixes bugs in Debian BTS (#346876, #288543)
2577
2578 * atari800.{h,man},configure.ac,README*,atari800.spec: update for 2.0.2 release
2579
2580
2581 2006-04-06 Perry McFarlane <[email protected]>
2582 * antic.c: removed IR = 0 and anticmode = 0. Added a check to ignore JVB
2583 in the jump instruction instead.
2584
2585
2586 2006-03-29 Perry McFarlane <[email protected]>
2587 * atari_sdl.c, atari_ntsc.c: added command line options, help and rearranged
2588 code a bit in the NTSC emulator.
2589 * DOC/USAGE updated for the NTSC emulator.
2590 * DOC/BUGS added Satan's Hollow and Sirius games.
2591 * TODO updated to add NTSC emulator todos and a large number of other ideas.
2592 * DOC/CREDITS added Shay Green as author the of NTSC emulator
2593
2594
2595 2006-03-19 Piotr Fusik <[email protected]>
2596 * compfile.c: fixed DCM image handling - support 0x45 "End Of Pass" code
2597 in an empty sector block starting at any sector (usually 0x0045)
2598
2599
2600 2006-03-10 Perry McFarlane <[email protected]>
2601 * atari_sdl.c, atari_ntsc.c: Blargg's NTSC composite video emulator based on
2602 NewRisingSun's algorithm. SDL port 640x480x16 only. Use -ntscemu.
2603
2604
2605 2006-02-03 Piotr Fusik <[email protected]>
2606 * antic.c: a bug in do_border_gtia10 caused a crash on machines that don't
2607 support unaligned words (problem reported by Mark Watson), on other machines
2608 sprites on the right border in GTIA 10 modes were incorrectly shifted;
2609 a pointer cast in DO_BORDER_1 replaced with IS_ZERO_ULONG, just in case
2610
2611
2612 2006-01-31 Piotr Fusik <[email protected]>
2613 * win32/screen_win32.c: made DDERR_UNSUPPORTED user-friendly ;-)
2614
2615 * atari.h, input.c, statesav.c, ui.c, ui.h, ui_basic.c, dc/atari_dc.c,
2616 dc/atari800.cfg, dc/config.h, dc/dc_chdir.c, dc/icon.h, dc/Makefile.dc,
2617 dc/version.h, dc/vmu.c, dc/vmu.h, DOC/CHANGES.dc, DOC/README.dc:
2618 integrated Christian Groessler's SEGA Dreamcast port
2619
2620
2621 2006-01-30 Perry McFarlane <[email protected]>
2622 * antic.c: fixes for Spider City and Fast Eddie
2623 Don't display usual graphics if DMACTL width changed from 0 past a
2624 certain cycle. Also don't continue to steal cycles. Bug made Fast Eddie
2625 bounce up and down one scan line in the demo mode and caused garbage lines
2626 in Spider City.
2627
2628 * antic.c: fix update_scanline_* to adjust for HSCROL only when IR&0x10 is
2629 true. I don't know if it caused any problems but it was wrong.
2630
2631 * antic.c: fix for Final Orbit. Set IR = 0 after JVB instruction. Bug made the
2632 screen shake badly.
2633
2634
2635 2006-01-26 Piotr Fusik <[email protected]>
2636 * ui_basic.c: directory that has been left (via Backspace or "[..]")
2637 is highlighted in the parent directory; display an error message
2638 when cannot enter a directory
2639
2640
2641 2006-01-14 Piotr Fusik <[email protected]>
2642 * monitor.c: "D" command displayed FFFE and FFFF instruction addresses
2643 as FFFFFFFE and FFFFFFFF respectively
2644
2645
2646 2006-01-11 Troy Ayers <[email protected]>
2647 * atari_ps2.c: Added routines for sound_pauses and sound resume for the PS2
2648
2649
2650 2006-01-09 Piotr Fusik <[email protected]>
2651 * pokeysnd.c: some fixes for stereo RF pokeysnd, essential for ASAP
2652
2653
2654 2006-01-07 Piotr Fusik <[email protected]>
2655 * atari.[ch], memory.c, ui.c: 192 KB RAM
2656
2657
2658 2006-01-06 Piotr Fusik <[email protected]>
2659 * configure.ac: small fix for sound on PS2
2660
2661 * DOC/BUGS: 5200 Joust sets all colors to black on PAL machines
2662 (not Atari800's bug)
2663
2664
2665 ** 2.0.1 released on 2006-01-02
2666
2667 2006-01-02 Petr Stehlik <[email protected]>
2668 * atari_sdl.c: keysym.unicode is not defined for KEYUP event (reported
2669 by Patrice Mandin, the Atari libSDL port author)
2670
2671 * various doc files: update for 2.0.1 bugfix release
2672
2673
2674 2006-01-02 Piotr Fusik <[email protected]>
2675 * devices.c: H: device defaults to read-only
2676
2677 * atari_sdl.c: keys used for joystick emulation shouldn't be ignored in UI
2678 (reported by Wiktor Grebla)
2679
2680 * ui.c: fixed a bug in per-file ROM configuration in UI (reported
2681 by Piotr Skamruk)
2682
2683 * ui.[ch]: MENU_PLACEHOLDER is no longer necessary thanks to the new
2684 FindMenuItem()
2685
2686
2687 ** 2.0.0 released on 2005-12-31
2688 *** started second decade of Atari800 development!
2689
2690 2005-12-31 Petr Stehlik <[email protected]>
2691 * atari_falcon.c: 'fVDI' cookie almost surely indicates that we are running
2692 on a graphics card with no bitplanes support.
2693 <falcon.h> header file is in mint subfolder in newer mintlibs.
2694
2695
2696 2005-12-30 Kostas Nakos <[email protected]>
2697 * wince/*: code refinements
2698
2699 * DOC/INSTALL.wince: updated
2700
2701
2702 2005-12-30 Piotr Fusik <[email protected]>
2703 * cpu.[ch], mzpokeysnd.c, pokey.h, pokeysnd.c, remez.c: added conditional code
2704 for an external project derived from Atari800, see http://asap.sf.net
2705
2706
2707 2005-12-29 Petr Stehlik <[email protected]>
2708 * atari_sdl.c: keyboard joysticks:
2709 - removed secondary trigger key
2710 - added functions that list currently assigned keyboard joystick keys (for
2711 use in the UI to show user how the joystick is mapped)
2712 - SDL_X_TRIG renamed to SDL_JOY_X_TRIGGER (old config name still supported)
2713 - SDL_JOY_X_ENABLED added to config file (so you can enable/disable
2714 the keyboard joysticks and save that for future)
2715
2716 * ui.c: SDL keyboard joysticks: show how the joystick keys are mapped
2717
2718 * config.{guess, sub}: updated to versions from August 2005
2719
2720 * atari800.man: added -Hpath <path>
2721
2722 * DOC/FAQ: listed my solutions for keyboard joysticks and sound problems
2723 under SDL with GNOME ESD.
2724
2725 * atari800.spec, README.1ST, DOC/{README, NEWS}: updated for new release
2726
2727
2728 2005-12-29 Piotr Fusik <[email protected]>
2729 * ui_basic.c: help line for the directory selector
2730
2731
2732 2005-12-28 Petr Stehlik <[email protected]>
2733 * sound_oss.c: handles situations when Pokey generated channels don't match
2734 the output channels - for example when stereo Pokey is to play on mono only
2735 card, or vice-versa. Also stereo Pokey compiled in but disabled at runtime
2736 now plays from both channels (not just the left one).
2737
2738
2739 2005-12-27 Piotr Fusik <[email protected]>
2740 * DOC/INSTALL.amiga: removed (completely obsolete)
2741
2742 * DOC/TODO: reorganized and added my ideas
2743
2744 * pokey.c: made initialization of poly17_lookup[] about 10 times faster
2745
2746
2747 2005-12-05 Piotr Fusik <[email protected]>
2748 * atari_ps2.c: sound support for the PS2
2749
2750
2751 2005-11-30 Piotr Skamruk <[email protected]>
2752 * ui.c: options for enabling/disabling SDL keyboard joysticks
2753
2754
2755 2005-11-26 Piotr Fusik <[email protected]>
2756 * atari.c: fixed Atari_time() on the PS2
2757
2758 * atari.c: applied patch for *argc==0 (Chris)
2759
2760 * ui_basic.c: minor fix in FileSelector()
2761
2762
2763 2005-11-24 Petr Stehlik <[email protected]>
2764 * atari_sdl.c: keyboard joysticks don't pause games anymore. However, a
2765 runtime switch between keyboard joysticks and normal keyboard is needed.
2766 DOS/VGA uses <F7>. Will SDL use that or something else? Also some sort
2767 of visual indication (similar to disk drives lights) is needed otherwise
2768 users will get confused when half of their keyboard doesn't respond.
2769
2770
2771 2005-11-19 Piotr Fusik <[email protected]>
2772 * configure.ac, sound_oss.c, sound_unix.c: new OSS sound handling:
2773 - renamed sound_unix.c to sound_oss.c
2774 - added "-lossaudio" (necessary on NetBSD)
2775 - removed some advanced tricks (including "-snddelay" option),
2776 now writing samples for one Atari frame at once
2777 - implemented Sound_Pause() using SNDCTL_DSP_POST
2778
2779 * monitor.c: the output of "GTIA" command is now 7 lines instead of 5,
2780 but is much more readable (sprite registers are aligned)
2781
2782
2783 2005-11-14 Piotr Fusik <[email protected]>
2784 * configure.ac: R: device disabled by default (use "--enable-riodevice"
2785 at your own risk)
2786
2787 * atari_ps2.c: fixed timer_interrupt_id, but the timer code probably
2788 still won't work, so I wrapped it in USE_TIMERS
2789
2790 * ui_basic.c: added "[mc0:]" to file selector on PS2;
2791 use just one Win32 API call GetLogicalDrives() for all drive letters
2792
2793
2794 2005-11-11 Piotr Fusik <[email protected]>
2795 * configure.ac, amiga/config.h, win32/msc/config.h, wince/port/config.h,
2796 antic.c, cpu.c, memory.h, pokeysnd.c:
2797 UNALIGNED_LONG_OK -> WORDS_UNALIGNED_OK
2798
2799 * atari.[ch], antic.c, memory.h: STAT_UNALIGNED_WORDS
2800
2801 * binload.c, devices.c: dGetWord -> dGetWordAligned,
2802 dPutWord -> dPutWordAligned
2803
2804 * configure.ac: WORDS_UNALIGNED_OK now bases on the built-in
2805 CPU architecture database and can be overridden
2806 with "--enable-unalignedwords" / "--disable-unalignedwords"
2807
2808 * atari.c, atari_ps2.c: implemented Atari_time() and Atari_sleep() on PS2
2809
2810
2811 2005-11-08 Piotr Fusik <[email protected]>
2812 * atari_ps2.c, devices.c, ui_basic.c: support for directory listings on PS2
2813 ("mc0:" only)
2814
2815
2816 2005-11-04 Piotr Fusik <[email protected]>
2817 * monitor.c: pacified warnings on 64-bit CPUs
2818
2819
2820 2005-11-03 Piotr Fusik <[email protected]>
2821 * ui.c: "Uncompress disk image": there was a random message when the user
2822 cancelled output file selection
2823
2824 * sio.c: removed superfluous SIO_Dismount() - SIO_Mount() calls it
2825
2826
2827 2005-11-02 Piotr Fusik <[email protected]>
2828 * atari.c: RESET key in 400/800 does not reset chips, but only generates
2829 RNMI interrupt
2830
2831 * gtia.c: pacified warnings in no-NEW_CYCLE_EXACT build
2832
2833 * devices.c: pacified MSVCE warning in WORDS_BIGENDIAN build
2834
2835 * ui_basic.c: file selector shows empty directories on WinCE
2836
2837 * devices.c: H: directory listing with no matching entry now works on WinCE
2838
2839 * devices.[ch], ui.[ch]: "Advanced H: options"
2840
2841 * devices.c: fixed H: open mode 12 - now creates files that didn't exist;
2842 added H: open mode 13 - append and read (most Atari DOSes don't support it,
2843 but Sparta does)
2844
2845 * devices.c: H: MyDOS Load Executable command now works on open files
2846 (this is how MyDOS menu uses it)
2847
2848 * configure.ac, amiga/config.h, win32/msc/config.h, util.[ch], devices.c,
2849 sio.c: improved handling of temporary files:
2850 - temporary files with H: directory listing are deleted on WinCE
2851 - if available, tmpfile() is used for DCM and GZ disk images
2852 (no need to store names of temporary files)
2853
2854 * sio.c: fixed Aprint("%SIO... inside #ifdef DEBUG
2855
2856 * sio.c: drive status command ('S') now reports the density configured
2857 via PERCOM ('O') - MyDOS menu can reformat a disk with different sector size
2858
2859 * compfile.[ch]: rewritten from scratch. New DCM code is partially inspired
2860 by Ernest Schreurs' DCM2ATR utility:
2861 - DCMs that aren't Single/Double/Enhanced Density are now supported
2862 (example: double-sided disks)
2863 - DCM sector coding type 0x42 is now supported
2864 - DCM code is short, fast and clear (as opposed to old DCM code and DCM2ATR)
2865
2866 * ui.c: "Uncompress Disk Image" converts XFD.GZ to XFD, ATR.GZ to ATR,
2867 DCM to ATR
2868
2869 * win32/main.c: replaced WinMain() with main() so that MSVC-compiled version
2870 is a console application
2871
2872 * atari.[ch], atari_curses.c, atari_sdl.c, atari_svgalib.c,
2873 colours.c, compfile.c, devices.c, log.c, memory.c, monitor.c, mzpokeysnd.c,
2874 pia.c, platform.h, pokeysnd.c, sio.c, sound_unix.c, statesav.c, ui.c,
2875 ui_basic.c, dos/dos_ints.h, dos/dos_sb.[ch], win32/atari_win32.c,
2876 win32/joystick.c, win32/keyboard.c, win32/main.c, win32/screen_win32.c,
2877 win32/sound.c: removed CVS log from file contents
2878
2879
2880 2005-10-29 Kostas Nakos <[email protected]>
2881 * atari.c: implementation of alternate host syncing scheme
2882 With USE_CLOCK undefined, normal operation requires syncing (sleeping) for
2883 each frame, even when refresh rate is > 1. By defining the
2884 ALTERNATE_SYNC_WITH_HOST symbol results in calculating skipped and the drawn
2885 frames, then sleeping once for a longer period. This scheme seems to yield
2886 better results for slow devices.
2887
2888
2889 2005-10-25 Piotr Fusik <[email protected]>
2890 * sio.c: compressed disk images are now open read-only.
2891 Version 1.3.6 could open them in read-write mode, but the compressed
2892 images were never modified, so changes were lost. It was commented
2893 "this is a fake but some games need it", but, since read-only ATRs
2894 (e.g. on a CD-ROM) cannot be open in read-write mode, why compressed
2895 images should be?
2896
2897 * antic.c, monitor.c: "VCOUNT" and "ypos" are now zero in the monitor
2898 invoked outside ANTIC_Frame() (previously 0x9c and 312 respectively,
2899 which doesn't make sense)
2900
2901 * atari.[ch], devices.c, ui.c, util.h: Atari800 tries to guess ROM paths
2902 that are not configured (no configuration file or no entries for ROM paths).
2903 It checks in the current directory, "/usr/share/atari800" (only on Unix
2904 and Linux), directory with the Atari800 binary and its "rom" and "ROM"
2905 subdirectories. See source code of Atari800_FindROMImages() in atari.c
2906 for the filenames that are checked. Note that only the presence of files
2907 is checked here, not their contents. This is far from perfect, but probably
2908 better than hard-coded default filenames (in the current directory)
2909 as in Atari800 1.3.6 and earlier.
2910
2911
2912 2005-10-23 Piotr Fusik <[email protected]>
2913 * ui_basic.c: silenced a warning
2914
2915 * devices.c, hdevtest.lst: made H: functions 0x2f and 0x30
2916 SpartaDOS-compatible
2917
2918 * devices.c, ui_basic.c: Win32 implementation of directory listing
2919 no longer fails when no file matches the mask
2920
2921 * devices.c: Win32 implementation of long directory listing
2922 reports local file times rather than UTC
2923
2924
2925 2005-10-22 Piotr Fusik <[email protected]>
2926 * monitor.c: #include "pokeysnd.h" for stereo_sound (previously
2927 in rt-config.h)
2928
2929 * dos/atari_vga.c: didn't compile after removing Atari_DisplayScreen's
2930 argument
2931
2932 * atari_x11.c: XVIEW didn't compile after introducing atari_files_dir
2933
2934 * atari.[ch], ui.c: I forgot about configuration of tv_mode, now it's
2935 in "Select System"
2936
2937 * util.[ch], devices.c, ui_basic.c: Util_chrieq()
2938
2939 * ui.[ch], ui_basic.c, wince/port/ui_wince.c, wince/port/main.c:
2940 - display error message when SIO_Mount() fails
2941 - introduced MENU_* macros to hide tMenuItem structure layout
2942 in menu definitions
2943 - removed tMenuItem.sig (used by wince_ui_driver only)
2944 - simplified tMenuItem.flags values
2945 - replaced tUIDriver.fAboutBox with more general tUIDriver.fInfoScreen
2946 - added "tooltips" in Disk Management
2947 - combined "H: device" with "Use H: devices in Read Only mode"
2948 - added "Configure Directories" for configuration of atari_files_dir[]
2949 and saved_files_dir[] (thanks Petr for idea)
2950 - tUIDriver.fSelect now supports "dragging" (for reordering
2951 atari_files_dir[] and saved_files_dir[])
2952 - FileSelector's scrolling is less tricky and more reliable,
2953 as a side effect Left and Right arrows can be used to jump to first
2954 and last menu item respectively
2955 - you can quickly move in menus and file selector by pressing first
2956 letter of an item
2957 - fixed some problems with Alt+letter shortcuts
2958 - Alt+O no longer displays a blue line at bottom of the screen
2959 - moved WinCE-specific UI menu items to ui.c; only AboutPocketAtari()
2960 left in ui_wince.c; wince_ui_driver is history, which is good, because
2961 UI Driver is meant for View/Controller, not Model of User Interface;
2962 Kostas should review my changes, naturally
2963 - some naming changes to follow Atari800 convention
2964
2965 * atari_svgalib.c, ui_basic.c: improved SVGA_SPEEDUP:
2966 - now draws 1/refresh_rate part of screen every frame instead
2967 of every refresh_rate frames;
2968 - protected against problems when changing refresh_rate from UI
2969 - should work correctly with refresh_rate not being a divisor of 240
2970 - removed special handling from ui_basic.c
2971
2972 * atari.h, configure.ac: version 1.4.0
2973
2974
2975 2005-10-19 Piotr Fusik <[email protected]>
2976 * amiga/amiga.c: Atari_LoadAnyFile() additionally supports DCM, BAS, LST,
2977 CART, ROM, CAS, BOOT_TAPE
2978
2979 * ui.c: disks mounted as read-only now marked with '*' in Disk Management
2980
2981 * sio.c: initialize sio_filename[] with "Off" to match drive_status[]
2982 initialized with Off; simplified code by removing istmpfile[]
2983
2984 * amiga/amiga.c, atari_curses.c, atari_falcon.c, atari_ps2.c, atari_sdl.c,
2985 atari_svgalib.c, atari_vga.c, win32/atari_win32.c, wince/port/atari_wince.c,
2986 atari_x11.c, win32/main.c, platform.h, ui_basic.c:
2987 removed Atari_DisplayScreen's argument: use atari_screen directly
2988
2989 * util.c: Util_splitpath() and Util_catpath() recognize slash in addition
2990 to backslash
2991
2992 * rt-config.[ch], ui.c, ui_basic.c, atari_x11.c: DISK_DIR, ROM_DIR, EXE_DIR
2993 and STATE_DIR configuration options replaced with ATARI_FILES_DIR
2994 and SAVED_FILES_DIR. See discussion on the mailing list (9-11 Sep 2005).
2995
2996 * ui.[ch], ui_basic.c, wince/port/ui_wince.c: improved file selection:
2997 - file selector's title is the path of the listed directory
2998 - sort directories that start with a dot
2999 - file selector starts on the previously selected file
3000 - Backspace in the file selector goes to the parent directory
3001 - filenames of saved files are no longer limited to 32 characters
3002 - directory of a saved file appears in the edit box
3003 - Tab in the edit box invokes directory browser
3004 - added directory selection
3005
3006 * ui.[ch], ui_basic.c, wince/port/ui_wince.c:
3007 - removed box around screen title; screen title now always takes one line
3008 and is shortened if necessary
3009 - improved refresh_rate selection
3010 - added "Controller Configuration"
3011 - restored "Save Interlaced Screenshot" in the main menu
3012 - "Atari Settings" -> "Emulator Configuration": added H: paths
3013 and read-only, print command and ROM settings;
3014 the easiest way to configure ROMs is "Find ROM images in a directory"
3015 which looks for common names of ROM images (e.g. atarixl.rom)
3016 - improved disabling of function keys and Alt+letter in User Interface
3017 on WinCE (now using MENU_ACCEL() macro); applied to PlayStation 2, too
3018 - changed items[] indexing to pointer access in BasicUISelect();
3019 this is not a matter of optimization, since a smart compiler should
3020 generate same code for both - I'm 99% sure there's a bug in MSVC 6
3021 that caused the disabled R: menu item to appear on screen
3022 - some code simplifications
3023
3024 * devices.[ch], rt-config.[ch]:
3025 RtIsPrintCommandSafe() -> Device_SetPrintCommand()
3026
3027 * atari.c, prompts.[ch], rt-config.[ch], Makefile.in, amiga/Makefile,
3028 win32/msc/Makefile: removed "-configure" command-line option
3029 and the questions that appeared in the console window when no configuration
3030 file was found; now a default configuration is written and you can modify it
3031 using User Interface; removed prompts.[ch]
3032
3033 * atari.[ch], rt-config.[ch], Makefile.in, amiga/Makefile,
3034 win32/msc/Makefile: variables configured by the configuration file
3035 moved to the modules they actually belong to; config read/write moved
3036 to atari.[ch]; removed rt-config.[ch]
3037
3038
3039 2005-10-12 Troy Ayers <[email protected]>
3040 * configure.ac: For PS2 port removed check for libgcc, added check for libz.
3041
3042 * atari_ps2.c: Changed keyboard input to "raw" mode, as "normal" mode will not
3043 read directional keys. Changed PS2 button assignments.
3044
3045
3046 2005-10-09 Piotr Fusik <[email protected]>
3047 * atari_x11.c: removed "Help" menu item disabling, because "Help" was removed
3048 recently
3049
3050 * rdevice.c: improved Device_GetInetAddress:
3051 - all non-control ASCII characters except space allowed (dunno if correct)
3052 - memory wraps at 64K
3053 - prevented buffer overflow
3054
3055 * binload.c, devices.c: use fgetc() instead of fread() for single bytes;
3056 start_binloading is a boolean, and should be set to TRUE or FALSE
3057
3058 * devices.c, rt-config.[ch]: atari_h[1-4]_dir -> atari_h_dir[0..3];
3059 hd_read_only -> h_read_only
3060
3061 * devices.[ch]: numerous improvements in H: device emulation:
3062 - slash, backslash, colon and greater-than are allowed H: directory
3063 separators on all platforms
3064 - parent directory on H: is "<" or ".."
3065 - access via H: outside the specified directories is not possible
3066 (I hope so!)
3067 - HPath -> h_exe_path, and is not modified in-place
3068 - fixed match(): "F?" matched "F", "FOO?BAR" matched "FOO.BAR"
3069 - apostrophe is valid in filenames
3070 - MyDOS compatible H: commands: 0x22 = mkdir, 0x29 = cd
3071 - H: rename command no longer allows moving files to a different directory
3072 - command 0x30 is "ToAbsolutePath" rather than "CurrentDirectory"
3073 - mkdir and rmdir no longer work in H: read-only mode
3074 - mkdir no longer calls umask(), and now creates directory with default
3075 permissions
3076 - H5: is no longer valid (but H6:-H9: default to the current directory)
3077 - apply fseek(fp, 0, SEEK_CUR) between reads and writes of a file open
3078 in "rb+" mode (e.g. DJGPP needs that)
3079 - H: directories prefixed with ':' in directory listing on MyDOS
3080 - base names longer than 8 characters and extensions longer than
3081 3 characters are truncated and terminated with '+' in directory listings
3082 - file size in long directory listing limited to 999999
3083 - long directory listing uses (SpartaDOS-compatible) 12-hour format
3084
3085 * ui_basic.c: silenced a warning
3086
3087 * win32/atari_win32.c: implemented Atari 5200 keys;
3088 F11 and Scroll Lock no longer press L on Atari keyboard;
3089 Ctrl+arrows emulate Atari arrows without Control;
3090 adapted to Atari800 coding style
3091
3092 * util/benchmark.pl: fixed program name in error messages
3093
3094 * util/hdevtest.lst: automatic test of H: device. Usage instructions inside.
3095
3096
3097 2005-09-27 Piotr Fusik <[email protected]>
3098 * atari_curses.c, ui_basic.c: screencode -> curses char code conversion
3099 is now done in curses_display_line rather than Atari_DisplayScreen:
3100 avoided conversion from ASCII to screencode and back in UI (it was wrong
3101 for some characters), this fixes Alt+O menu in Self Test
3102
3103 * memory.c, ui_basic.c: UI's charset is now in ATASCII order,
3104 so ascii_to_screen is not necessary
3105
3106 * monitor.c: silenced MSVC warnings
3107
3108 * util.h: fixed a warning about implicit declaration of unlink() in sio.c
3109
3110 * atari_x11.c: fixed keyboard on Motif and XView
3111
3112 * configure.ac: PlayStation 2 fixes; lots of small improvements
3113
3114
3115 2005-09-24 Piotr Fusik <[email protected]>
3116 * atari_ps2.c, configure.ac: added development version of the PlayStation 2
3117 port I'm working on together with Troy Ayers; it is limited at the moment:
3118 no real speed synchronization, no sound, no file selector, no monitor
3119
3120
3121 2005-09-18 Piotr Fusik <[email protected]>
3122 * cpu.c, monitor.[ch]: major improvement of monitor:
3123 - new command "B" manages user-defined breakpoints
3124 (based on Atari800Win PLus 4.0 by Marcin Lewandowski)
3125 - monitor now displays registers and current instruction when invoked
3126 - "SHOW" additionally displays current instruction
3127 - disassembler displays bytes before the instruction,
3128 to avoid misalignment where long labels are present
3129 - disassembler no longer displays cycles (it was misleading,
3130 because the number of cycles is variable for some instructions)
3131 - removed memory contents display in single step mode (not useful)
3132 - "ESCAPE" and "ESCRTS" disassembled with their argument
3133 - "TRON", "TROFF" -> "TRACE" (output to file, not stdout; includes
3134 ypos, xpos and registers)
3135 - "BRKHERE" -> "BBRK"
3136 - "BREAK" -> "BPC"
3137 - "YBREAK" -> "BLINE"
3138 - "H" is an alias to "HISTORY"
3139 - "ROM", "RAM" work in PAGED_ATTRIB build
3140 - "DLIST" groups identical instructions and prints them in one line
3141 - assembler supports labels
3142 - assembler handles "JSR 0", "LDA 0,Y" etc.
3143 - improved branch range checking in assembler
3144 - error messages for invalid "SETx" arguments
3145 - unofficial "NOP" and "SBC #" are marked with "!" in disassembly
3146 - assembler generates the official "NOP" opcode
3147
3148 * configure.ac: MONITOR_BREAKPOINTS ("B" command),
3149 MONITOR_PROFILE ("PROFILE" command), MONITOR_TRACE ("TRACE" command)
3150
3151 * atari.c: size of auto-started XFD images must be multiple of 128 bytes.
3152 Corrupted images won't work, but we gain a better detection of Atari files.
3153
3154 * atari.c, cpu.[ch], monitor.[ch]: break_cim -> cim_encountered
3155 (monitor displays "CIM encountered" not only in MONITOR_BREAK build)
3156
3157 * antic.[ch], cpu.c, monitor.[ch]: ypos_break_addr -> break_ypos
3158
3159 * cpu.c: support for Atari800Win PLus
3160
3161 * rt-config.[ch], ui.c: don't exit emulator if "Update configuration file"
3162 failed
3163
3164 * ui_basic.c: fixed file selector: last directory entry wasn't sorted
3165
3166 * ui_basic.c: right arrow in last column of file selector jumps
3167 to the last entry
3168
3169 * ui.c: improved "Extract ROM image from Cartridge":
3170 - allocates only as much memory as necessary rather than 1 MB
3171 - displays error message on write error
3172
3173 * ui.h, ui_basic.c, wince/port/ui_wince.c: saved a few bytes per tMenuItem
3174
3175 * wince/port/config.h:
3176 #undef HAVE_NANOSLEEP, #undef HAVE_STRDUP, #define SIZEOF_LONG 4
3177 (this is for use with the preprocessor, so sizeof(long) was wrong),
3178 #define STDC_HEADERS (this means there are stdlib.h, stdarg.h and string.h)
3179
3180
3181 2005-09-14 Piotr Fusik <[email protected]>
3182 * atari.c, configure.ac: prefer nanosleep() (POSIX.1) to usleep()
3183 and select(); prefer Sleep() on WIN32
3184
3185 * atari_x11.c: handle Motif/XView events in Atari_Keyboard() rather than
3186 Atari_DisplayScreen() - F1 User Interface now works in these versions;
3187 TODO: key repeat does not work on Motif and is too fast on XView
3188
3189 * pokey.c: can use Win32 API instead of time()
3190
3191 * rtime.c: can use Win32 API; fixed Y2K bug
3192
3193 * compfile.c, devices.c, sio.c, util.[ch]: Util_unlink();
3194 use unlink() and not remove(), because remove() calls unlink() for files
3195 and we never remove() directories
3196
3197 * util.c: fixed Util_splitpath on root directory path
3198
3199 * ui_basic.c: ".." in Win32 API based file selector on WINCE
3200
3201 * ui_basic.c: include B: in DOS_DRIVES; detect floppies on WIN32
3202
3203
3204 2005-09-11 Piotr Fusik <[email protected]>
3205 * ui_basic.c: fixed file selector which I broke yesterday
3206
3207 * atari.c: fixed parse error in zlib-less compilation
3208
3209 * atari.c, devices.c: removed unnecessary "Fatal Error" messages
3210
3211 * memory.c, remez.c, screen.c: use Util_malloc() instead of malloc()
3212
3213 * rdevice.c: avoid malloc()
3214
3215 * ui_basic.c: use Util_realloc() instead of realloc()
3216
3217 * ui.h, ui_basic.c: fixed warnings
3218
3219 * rtime.c: replaced "-rtime <onoff>" with "-rtime" / "-nortime"
3220 documented in "-help"
3221
3222 * devices.c: replaced "-hdreadonly <onoff>" with "-hreadonly" / "-hreadwrite"
3223
3224 * devices.c, monitor.c, util.[ch]: Util_strupper() and Util_strlower()
3225
3226 * pokey_resample.[ch]: removed dead code
3227
3228 * act/fox.act: removed, use jakub.act instead (it is built-in)
3229
3230 * monitor.c: extended labels (MONITOR_HINTS):
3231 - can be disabled with "LABELS OFF"
3232 - can be loaded with "LABELS LOAD" / "LABELS ADD"
3233 (supported are label tables generated by xasm, Mad-Assembler
3234 and HardCore Assembler)
3235 - can be defined with "LABELS SET"
3236 - you can use a label where a hex value is expected
3237 - binary search replaced with linear, for simplicity
3238
3239 * devices.c, win32/msc/config.h: H: lock/unlock work on MSVC,
3240 using Win32 API directly; rename, mkdir, rmdir can be implemented
3241 using Win32 API; Win32 API implementation of directory listing
3242 is now the default and does not use stat(); fixed Y2100 bug :-)
3243
3244 * ui_basic.c, util.[ch]: implemented file selector on MSVC
3245
3246 * ui_basic.c: try to handle directories with ']' in their names
3247
3248 * ui.c: removed an opendir() call (unnecessary, I think!)
3249
3250 * compfile.[ch], sio.c: removed the unused diskno parameter from opendcm()
3251 and openzlib()
3252
3253 * remez.[ch]: fprintf(stderr, ...) -> Aprint();
3254 adapted to Atari800 coding style; added "static" to functions;
3255 added "const" to pointers
3256
3257 * atari.h, devices.c: "defined(WIN32) || defined(__PLUS)" -> "defined(WIN32)"
3258 (Atari800Win PLus should define WIN32)
3259
3260 * dos/dos_sb.c: fixed some of gcc -pedantic warnings;
3261 adapted to Atari800 coding style
3262
3263 * win32/atari_win32.c: F6 = Help, F7 = Break; TODO: 5200 keys
3264
3265
3266 2005-09-10 Piotr Fusik <[email protected]>
3267 * configure.ac: #define our symbols to 1 (just like autoconf's own symbols);
3268 described basic and *curses targets
3269
3270 * win32/screen_win32.c: improved error handling:
3271 - DirectX docs suggest using FAILED() instead of !=DD_OK
3272 - display the name of the failed function and the return code
3273 (unfortunately DXTrace() is available only in DirectX 8.0 and higher)
3274 - display a hint if SetDisplayMode fails with DDERR_INVALIDMODE
3275 (the default 320x240 doesn't work on my Win98SE / Radeon 9000,
3276 although it works on XP on the same machine)
3277
3278 * ui.h, ui_basic.c: char * -> const char *
3279
3280 * rt-config.c, ui_basic.c, util.[ch]: simplified code by introducing
3281 Util_splitpath() and Util_catpath()
3282
3283
3284 2005-09-09 Piotr Fusik <[email protected]>
3285 * DOC/HOWTO-DIRTYSPAN: an alternative to DIRTYRECT (just an idea)
3286
3287
3288 2005-09-07 Piotr Fusik <[email protected]>
3289 * sound_unix.c: set speed after stereo, because the allowed speed may be
3290 different for stereo
3291
3292 * antic.c, atari.[ch], atari_falcon.c, atari_sdl.c, atari_x11.c, cartridge.c,
3293 cassette.c, colours.c, compfile.c, devices.c, input.c, monitor.c,
3294 rt-config.c, rtime.c, screen.c, sound_falcon.c, sound_unix.c, ui.c,
3295 ui_basic.c, util.[ch], dos/sound_dos.c, Makefile.in, amiga/makefile:
3296 "util" is a new useful module not related directly to the emulation
3297
3298 * configure.ac, list.[ch], ui_basic.c, amiga/makefile: improved file selector:
3299 - sorts filenames case-insensitively
3300 - displays "Please wait..." while the directory is read
3301 - uses less memory (dynamic array instead of linked list, bye-bye list.[ch])
3302 - faster (quicksort instead of bubblesort)
3303
3304 * compfile.c: fixed 32 KB memory leak per open zlib-compressed disk image
3305
3306 * sio.c: optimized SIO_ChkSum()
3307
3308 * ui.c: improved "Create Cartridge from ROM image":
3309 - don't exit the emulator without any cleanup if the input file cannot
3310 be read, display an error message instead
3311 - display a message for files of non-standard sizes (including files that
3312 are already CARTs)
3313 - allocate only as much memory as necessary rather than 1 MB
3314
3315 * ui.c: improved "Save Disk Set" and "Make blank ATR disk":
3316 - can be cancelled by pressing Esc while editing the filename
3317 - display a message on success
3318 - display an error message on failure
3319 - don't operate on NULL if fopen() fails
3320
3321 * ui_basic.c: shorten the messages (especially the ones with long filenames)
3322 to fit on screen
3323
3324 * antic.c, atari.c, colours.h, cpu.c, mzpokeysnd.c, pia.c, pokey.c,
3325 pokeysnd.c, win32/atari_win32.c, win32/joystick.c, win32/keyboard.c,
3326 win32/sound.c: silenced MSVC 6 /W3 warnings
3327
3328 * win32/main.c, win32/screen_win32.c, win32/msc/config.h, win32/msc/Makefile,
3329 DOC/INSTALL: DirectX version can be compiled with Microsoft 32-bit C/C++
3330 Compiler 6.0. Currently missing features:
3331 - file selector in ui_basic (one has to type the filename)
3332 - lock/unlock operations on H: devices
3333 - stereo (just haven't tested it yet)
3334
3335
3336 2005-09-06 Perry McFarlane <[email protected]>
3337 * antic.c: a fix for DMACTL written twice in the same scanline
3338
3339
3340 2005-09-05 Kostas Nakos <[email protected]>
3341 * wince/* : Updated the wince port to work with Smartphones.
3342 Several other improvements to the port.
3343
3344
3345 2005-09-04 Piotr Fusik <[email protected]>
3346 * monitor.c: initialize break_addr with 0xd000. Previously, Atari800
3347 compiled with MONITOR_BREAK (the default) entered the monitor
3348 rather than executing the instruction at address 0x0000
3349 (perfectly legal for 6502 code).
3350
3351 * ui_basic.c: don't hide ATR/XFD file extensions in the file selector
3352
3353 * atari_svgalib.c: Atari 5200 keys
3354
3355 * sound_unix.c: fixed sound on Linux. This is black magic to me.
3356 I hope there will be some feedback from users.
3357
3358
3359 2005-09-03 Piotr Fusik <[email protected]>
3360 * atari.c, gtia.c: I broke the BASIC version recently, fixed
3361
3362 * cpu.c: cycle-exact Read-Modify-Write instructions for NEW_CYCLE_EXACT
3363
3364 * antic.c, configure.ac, gtia.c, util/benchmark.pl: removed CYCLE_EXACT
3365 (superseded by NEW_CYCLE_EXACT)
3366
3367 * devices.c: improved "K:" input in BASIC version: use just the first
3368 character from the entered line and ignore the remaining characters
3369 (including EOL). This is because the input from the terminal
3370 is line-buffered, so we have to press Enter for the Atari emulation
3371 to continue - but we don't want this Enter to be delivered
3372 to the emulated Atari.
3373
3374 * devices.c: BASIC version: Atari Clear Screen, Backspace, Tab and Bell
3375 converted to the corresponding ASCII codes
3376
3377 * atari_x11.c, configure.ac: (x11-)xview(-shm) now compiles and works
3378
3379 * atari_x11.c: fixed Shift+F5; F8 and (Shift+)F10 are now "Enter monitor"
3380 and "Save (interlaced) screenshot", respectively (just like in other
3381 versions of Atari800); don't clear key_shift when another key is pressed
3382 TODO: Alt+letter shortcuts
3383
3384 * atari_svgalib.c: implemented F6 (Help) and F7 (Break)
3385
3386 * amiga/config.h: updated for clib2-1.194
3387
3388
3389 2005-08-31 Piotr Fusik <[email protected]>
3390 * atari.[ch], ui.c: auto-starting any file supported by the emulator
3391 via the command line, User Interface or Alt+R
3392
3393 * binload.c: a fix for BASIC loader that didn't work if drive 1
3394 was enabled but contained no disk
3395
3396 * cpu.c: CYCLES_PER_OPCODE, NO_V_FLAG_VARIABLE, PC_PTR, PREFETCH_CODE
3397 for better (?) performance (not enabled by default);
3398 WRAP_64K and WRAP_ZPAGE for very precise emulation;
3399 optimized CPU_GetStatus(), CPU_PutStatus(), BRANCH()
3400
3401 * devices.c: created Device_OpenDir() and Device_ReadDir() that simplify
3402 searching directories. On Windows, if opendir() is not available,
3403 these functions are implemented using Win32 API. Changed behaviour:
3404 - directory listing and wildcard functions Rename, Delete, Lock, Unlock
3405 should now correctly handle the current directory, root directories
3406 and files with uppercase letters on case-sensitive filesystems
3407 - filenames in directory listing are no longer converted to uppercase
3408 - filename extension in the directory listing is now the filename part
3409 after the last dot and not the first one
3410
3411 * devices.c: improved H5:-H9:
3412 - reading supports CR/LF and CR files in addition to LF
3413 - writing uses native EOLs rather than LFs
3414
3415 * devices.c: Device_HHSPEC_Disk_Info(), Device_HHSPEC_Current_Dir()
3416 no longer use dPutByte(), so the result is wrapped at 64K,
3417 doesn't get written to ROM and may be written to hardware registers
3418
3419 * gtia.c: optimized GTIA_GetByte()
3420
3421 * log.c: fixed Aflushlog's bad behaviour when the log contained percents
3422
3423 * memory.[ch]: added two extra bytes to memory[], because the CPU
3424 emulation can access them
3425
3426 * cartridge.h, memory.[ch]: state files should now work with PAGED_ATTRIB
3427
3428 * boot.h, ui.c: MakeBlankDisk() now writes a blank Single Density disk
3429 rather than a 3-sector disk with useless executable loader - removed boot.h
3430
3431 * atari.[ch], colours.c, gtia.[ch], input.c, log.[ch], mzpokeysnd.[ch],
3432 pokey.[ch], pokeysnd.[ch], rt-config.[ch]: support for Atari800Win PLus
3433
3434 * util/benchmark.pl: dropped "-run" so any Atari program may be used
3435
3436
3437 2005-08-27 Piotr Fusik <[email protected]>
3438 * atari_sdl.c, atari_x11.c: now compile with --disable-sound
3439
3440 * cartridge.c, memory.c: cast the result of malloc()
3441
3442 * cassette.h: declared CASSETTE_CreateFile()
3443
3444 * compfile.[ch], sio.c: created compfile.h
3445
3446 * cpu.c: restored that "continue" at the end of the main loop
3447
3448 * devices.[ch]: DEFAULT_H_PATH moved to devices.h (for Atari800Win PLus)
3449
3450 * input.c: corrected file description
3451
3452 * memory.h: wrap macro arguments in parentheses, just in case
3453
3454 * remez.c: fixed a memory leak (found by Marcin Lewandowski)
3455
3456 * configure.ac, sound.c, sound_unix.c:
3457 renamed sound.c to sound_unix.c to avoid confusion
3458
3459 * statesav.c, ui_basic.c: MSVC declares getcwd() in <direct.h>
3460
3461 * atari.c, util/benchmark.pl: performance tests
3462 (some results posted to the mailing list)
3463
3464
3465 2005-08-24 Piotr Fusik <[email protected]>
3466 * atari.c: load state files from the command line using "-state"
3467
3468 * sio.c: recognize disk image format by the header rather than filename
3469 extension (*.DC3 now work as DCM)
3470
3471 * screen.h, ui.c: show_atari_speed, show_disk_led, show_sector_counter
3472 available in "Display Settings"
3473
3474 * devices.c: H: and R: work with PAGED_ATTRIB
3475
3476 * screen.c: fixed Screen_DrawAtariSpeed() not updating with refresh_rate > 1
3477
3478 * ui_basic.c: use stricmp() if there's no strcasecmp()
3479
3480 * monitor.c: people may mean accumulator mode when they write "ASL A"
3481 in the assembler
3482
3483 * atari_curses.c: keypad works on PDCurses
3484
3485 * cpu.[ch]: changed remember_PC_curpos and remember_jmp_curpos
3486 to unsigned, because "x % POWER_OF_TWO" is much faster for unsigned x
3487 (1 instruction vs 6 on x86)
3488
3489 * antic.c, monitor.[ch]: changed ypos_break_addr from UWORD to int (faster)
3490
3491 * cpu.c, monitor.[ch]: PROFILE -> MONITOR_PROFILE, TRACE -> MONITOR_TRACE
3492
3493 * monitor.c: combined consecutive printfs
3494
3495
3496 2005-08-22 Piotr Fusik <[email protected]>
3497 * cartridge.c: Atarimax cartridges can be bank-switched by reading $D5xx
3498
3499 * atari.c, emuos.h: stripped 2k more from emuos (it has no Floating Point,
3500 obviously!)
3501
3502 * atari.c, memory.c: don't try to load BASIC ROM in 400/800 emuos mode
3503
3504 * devices.c, mkimg.c, monitor.c, prompts.c, rdevice.c, sio.c:
3505 avoid the potentially signed-char-unsafe <ctype.h> functions (macros?)
3506
3507 * configure.ac: good advice for those poor souls who run "configure"
3508 with just "--enable-veryslow" and expect a miracle ;-)
3509
3510 * atari.h, ui.c: new "Display Settings" menu allows for changing the framerate
3511 and toggling sprite_collisions_in_skipped_frames
3512
3513
3514 2005-08-21 Piotr Fusik <[email protected]>
3515 * cartridge.[ch], ui.c: Atarimax cartridges
3516
3517 * atari.c, statesav.c: fixed loading of non-verbose state files
3518
3519 * atari.c: "--usage" and "--help" now work
3520
3521 * memory.[ch], sio.c: CopyFromMem and CopyToMem (both used by SIO)
3522 now work with hardware registers
3523
3524 * monitor.c: use fflush(stdout) where necessary;
3525 normalized all hex output to uppercase;
3526 improved "JUMPS": now displays the instructions;
3527 improved "PROFILE": now displays the instructions;
3528 accept "ASL @" in assembler
3529
3530 * rt-config.c: default filename for the 5200 ROM;
3531 moved Atari_ConfigInit() to the end of RtPresetDefaults(),
3532 so the Smartphone port can override enable_new_pokey
3533
3534 * screen.c: improved Screen_DrawAtariSpeed: updated every 0.5 sec or so
3535
3536 * sio.c: removed unportable DEBUG code
3537
3538 * configure.ac, statesav.c: use #ifdef HAVE_STRERROR
3539
3540 * configure.ac, compfile.c, devices.c: use #ifdef HAVE_REWIND
3541
3542 * ui.c: error messages for state load/save
3543
3544 * atari.[ch], compfile.c, configure.ac, devices.c: use ANSI/POSIX tmpnam()
3545 for creating filenames of temporary files, rather than unportable
3546 mktemp/mkstemp. tmpnam() generates filenames in system's temporary
3547 directory.
3548
3549 * antic.c, atari.c, atari_curses.c, gtia.c: Self Test menu highlighting
3550 on Curses
3551
3552 * atari_curses.c: fixed display of '\x7f';
3553 use KEY_HELP, KEY_SHELP, KEY_LHELP, KEY_BREAK, KEY_HOME, KEY_CLEAR,
3554 KEY_IC, KEY_IL, KEY_DC, KEY_DL, KEY_STAB, KEY_CTAB if available
3555
3556 * atari_sdl.c: "-rotate90" now works correctly on little-endian machines;
3557 don't initialize sound with "-help"; 5200 keys; F6=Help, F7=Break;
3558 Shift/Control for Atari, Help, Space, Return, Tab, arrows;
3559 Alt+B isn't repeated at a crazy speed
3560
3561 * atari_x11.c: MUCH faster screen display; 5200 keys; Caps can be released;
3562 Shift/Control for Help, Escape, Space, Return, Tab
3563
3564 * configure.ac: fixed x11-motif
3565
3566 * antic.[ch], compfile.c, input.c, screen.h, dos/atari_vga.c, ui.c:
3567 minor clean up
3568
3569
3570 2005-08-19 Piotr Fusik <[email protected]>
3571 * atari.c, screen.[ch]: Screen_Initialise();
3572 support "-screenshots <pattern>" on the command line: it defines a pattern
3573 for quick screenshots (i.e. the ones made with (Shift+)F10).
3574 For example "-screenshots /home/fred/foo##.pcx" means that
3575 /home/fred/foo00.pcx, /home/fred/foo01.pcx, ... should be used.
3576 Existing files are overwritten only if all the files defined by the pattern
3577 exist. Submitted as a feature request on sf.net.
3578
3579 * atari_curses.c: Alt+letter work on PDCurses;
3580 Ctrl+letter should be Control+letter, not Shift+Control+letter;
3581 Always treat 0x08 and KEY_BACKSPACE as Backspace;
3582 F10 = Screenshot (must run configure with --disable-cursesbasic to make this
3583 one work)
3584
3585 * atari.c, emuos.h: stripped 6k of zeros from emuos
3586
3587 * ui.[ch], ui_basic.c: shortcut keys (Alt+letter, F9, ...) didn't work in UI
3588 (reported as a bug on sf.net)
3589
3590 * monitor.c: addr defaults to regPC (handy for "D" and "LOOP");
3591 new command "LOOP": disassemble from the beginning of a loop that contains
3592 the instruction at the specified address.
3593 The loop is detected by looking for a branch instruction after the specified
3594 address whose target is below (or equal to) the specified address.
3595 Unconditional (JMP) loops are not detected.
3596
3597
3598 2005-08-17 Piotr Fusik <[email protected]>
3599 * configure.ac, *.c: autoconf improvements for Playstation 2;
3600 include config.h before system headers as autoconf's manual suggests
3601
3602 * configure.ac: don't use AC_FUNC_MALLOC because we never do malloc(0)
3603
3604 * rt-config.c: check if print_command is safe for sprintf format
3605
3606 * atari_x11.c, memory.[ch], ui.c: removed PILL (use cartridge images instead)
3607
3608
3609 2005-08-15 Piotr Fusik <[email protected]>
3610 * atari.c: corrected VOL_ONLY_SOUND in BASIC and CURSES_BASIC
3611
3612 * binload.[ch], sio.c: BIN_loade_start -> BIN_loader_start
3613
3614 * cpu.c: corrected cycles for unofficial opcodes 0xB3, 0xBB, 0xBF
3615
3616 * cpu.c: auto-define NO_GOTO for non-gccs
3617
3618 * cpu.[ch], monitor.c: HISTORY displays ypos xpos also with NEW_CYCLE_EXACT
3619 disabled
3620
3621 * cpu.c, memory.h: changed some | to +: this gives better code on x86 due to
3622 the LEA instruction
3623
3624 * monitor.c: "C", "M" and "S" support hardware registers
3625
3626 * monitor.c: display correct value for ZP,Y instruction
3627
3628 * monitor.c: PENL -> PENV
3629
3630 * cartridge.c, memory.[ch]: code simplified by defining SetROM and SetRAM
3631 for PAGED_ATTRIB
3632
3633 * devices.c: '!', '#', '$', '&', '(', ')', '-' and '@' are now valid
3634 in H: filenames
3635
3636 * atari.c, binload.[ch], cartridge.c, cpu.[ch], devices.c, ui.c:
3637 direct loading of Atari Basic programs. Supported are:
3638 - SAVEd (*.BAS) programs
3639 - LISTed (*.LST) programs with auto-detected Atari, LF, CR/LF or CR
3640 line terminators
3641 From the user's point of view, loading of Atari Basic programs works
3642 exactly like loading binary executables: use "-run" from command line
3643 or "Run Atari program directly" from the User Interface.
3644 The inner workings are much more interesting:
3645 0a. BIN_loader() detects file type: *.BAS programs start with two 0x00 bytes,
3646 *.LST programs must start with a digit.
3647 0b. During coldstart Atari Basic is enabled, even if disable_basic is set.
3648 0c. Device_PatchOS() installs a patch for E: write.
3649 1. The "READY" prompt is expected on E:. This is not necessarily
3650 the first thing printed on E: - a DOS may print its messages before running
3651 Atari Basic.
3652 2. RUN "E:" (for *.BAS) or ENTER "E:" (for *.LST) is passed to Atari Basic
3653 via E:.
3654 3. A patched E: open handler installs handlers for read and close operations.
3655 4. Reading bytes from the file. A conversion is applied to *.LST files:
3656 first 0x9b, (0x0d,0x0a), 0x0d or 0x0a found in the file becomes the line
3657 terminator and is converted to 0x9b.
3658 5. Close file. Patches are removed.
3659 6. (for *.LST) The "READY" prompt is expected on E:. If something different
3660 appears (probably "ERROR"), skip the step 7.
3661 7. (for *.LST) "RUN" is passed to Atari Basic via E:.
3662
3663
3664 2005-08-14 Piotr Fusik <[email protected]>
3665 * dos/dos_sb.c, dos/sound_dos.c: stereo now works
3666
3667 * dos/atari_vga.c, dos/sound_dos.h: sound_dos.h removed, use sound.h instead
3668
3669 * rt-config.c: support 16, 576, 1088 RAM; skip non-working options
3670
3671 * ui_basic.c: avoid negative array indexes with special keys pressed in UI
3672
3673
3674 2005-08-13 Piotr Fusik <[email protected]>
3675 * atari_curses.c: TAB is now TAB rather than CONTROL+I;
3676 F8 is "enter monitor" not coldstart;
3677 Start, Select, Option can now be released;
3678 fixed -wide2 mode
3679
3680 * antic.c, atari.c, atari_curses.c: generate curses screen basing on the DL
3681 rather than OS screen - Self Test and halt screen of emuos are now visible
3682
3683 * configure.ac: support --target x11-shm, x11-motif, x11-xview, x11-xview-shm;
3684 changed hints for symbols in config.h to full sentences,
3685 to be consistent with autoconf-generated hints;
3686 fixed hint for VOL_ONLY_SOUND; lack of zlib is no fatal error;
3687 check for signal.h, termios.h, memmove, signal, strspn;
3688 CURSES_BASIC; no sound objects if SOUND disabled
3689
3690 * antic.c, atari.c, configure.ac, gtia.c, input.c, ui.c, ui_basic.c:
3691 CURSES version without bitmap screen generation (i.e. no screenshots)
3692 enabled with CURSES_BASIC - faster and smaller, enabled by default
3693
3694 * cartridge.c, cassette.[ch], pokey.[ch], sio.c: fixed warnings
3695
3696 * antic.[ch], gtia.c, pokey.c, statesav.[ch], ui_basic.c: fixed indentation
3697
3698 * ui.c: not compiled-in features don't show in menus
3699
3700 * cartridge.c, sio.c, statesav.[ch]: added functions for filename save/read
3701
3702 * configure.ac, Makefile.in, ui.c: no sound emulation if sound is disabled
3703
3704
3705 2005-08-10 Piotr Fusik <[email protected]>
3706 * atari_basic.c: sound support; don't link with input.o
3707
3708 * atari.c: BASIC and VERY_SLOW now generate all kinds of interrupts.
3709 This generally means that you can hear music and SIO works without a patch.
3710 Timing in these versions is now much more precise.
3711
3712 * antic.[ch], monitor.c: "dlist" in monitor now supports Display Lists
3713 in extended memory with exclusive Antic access
3714
3715 * devices.c: patching E: open doesn't make sense
3716
3717 * cassette.c, ui.c: hold_start_on_reboot moved to cassette.c
3718
3719 * antic.c, cartridge.c, gtia.c, memory.c, pia.c, pokey.c, sio.c:
3720 no state files in BASIC version
3721
3722 * configure.ac, Makefile.in: link cycle_map.o only for NEW_CYCLE_EXACT;
3723 CYCLE_EXACT, NEW_CYCLE_EXACT, CRASH_MENU, VERY_SLOW not available in BASIC
3724 version; input.o, screen.o, colours.o, statesav.o, list.o, ui_basic.o, ui.o
3725 not linked in BASIC version
3726
3727 * atari.c, cpu.c, gtia.c, pia.c, pokey.c: input.o and statesav.o not linked
3728 in BASIC version
3729
3730 * Makefile.in: "make clean" now additionally cleans dos/, falcon/ and win32/
3731
3732 * mzpokeysnd.c, pokeysnd.[ch], sndsave.[ch]: Sound Recording was designed
3733 only for 8-bit unsigned samples mono on little-endian machines. Even in this
3734 configuration it didn't work, because the frequency wasn't written
3735 in the header (and you should have selected old pokeysnd in order to have
3736 any samples in the file). Now 8-bit unsigned samples mono/stereo old/new
3737 Pokey should work on all machines. 16-bit and signed samples are still TODO.
3738
3739 * ui.c: Sound Recording to atari000.wav, atari001.wav, etc. rather than 0.raw,
3740 1.raw. Doesn't overwrite existing files now. TODO: prompt for filename.
3741
3742 * atari.c: close sound file at exit, so correct headers are written
3743
3744 * antic.c, cartridge.[ch], cpu.c, emuos.h, gtia.c: added consts
3745
3746 * antic.c: fixed code formatting
3747
3748 * configure.ac: small fix for ncurses and support for pdcurses
3749
3750 * atari_curses.c: backspace now works on DJGPP/pdcurses
3751
3752
3753 2005-08-07 Piotr Fusik <[email protected]>
3754 * mzpokeysnd.c: eschew traditional comments in log messages!
3755
3756 * devices.c: MSVC headers have no S_IRUSR nor S_IWUSR
3757
3758 * devices.c: empty Hx_DIR now refers to the current directory rather than
3759 the root
3760
3761 * ui.c: display error messages for "Run BIN file", "Select tape",
3762 "Insert cartridge" and "Save screenshot"
3763
3764 * compfile.c: fixed indentation; other minor improvements
3765
3766
3767 2005-08-06 Piotr Fusik <[email protected]>
3768 * configure.ac, devices.c: check for rename() and snprintf()
3769
3770 * devices.c: fixed error codes; fixed "unused" warnings; other minor fixes
3771
3772 * antic.[ch], atari_sdl.c, atari_x11.c, cassette.[ch], cycle_map.h,
3773 pokeysnd.[ch], screen.h, ui.[ch], ui_basic.c, dos/atari_vga.c, dos/vga_gfx.h:
3774 changed () function signatures to (void)
3775
3776 * antic.c, atari_sdl.c, atari_x11.c, cassette.c, cycle_map.c, monitor.c,
3777 pokeysnd.c, ui_basic.c: fixed indentation
3778
3779 * rtime.c: optimized RTIME_GetByte
3780
3781 * mzpokeysnd.c, pokey.c, pokeysnd.h, pokey_resample.c, prompts.c:
3782 // comments changed to /* */
3783
3784 * emuos.lis, emuos.h, ui_basic.c: updated copyright year
3785
3786 * atari.c: if no sleep-like function available, fall back to time polling
3787
3788 * monitor.c: fixed a warning
3789
3790
3791 2005-08-05 Piotr Fusik <[email protected]>
3792 * configure.ac: added checks for some headers and functions used in devices.c
3793 and atari.c.
3794 VERY IMPORTANT: if you don't use Configure, make sure you define HAVE_*
3795 symbols (in config.h) for the header files and functions you have.
3796
3797 * sio.c: getcwd() may be unavailable
3798
3799 * devices.c, devices.h: fancy I/O functions may be unavailable;
3800 got rid of numerous #ifdef BACK_SLASH
3801
3802 * statesav.c: ReadDisabledROMs wasn't actually called!
3803 Thank you GCC 4 for the warning.
3804
3805 * atari.c: use best time functions available - now checked by Configure,
3806 not hard-coded for platforms (almost...)
3807
3808
3809 2005-06-24 Piotr Fusik <[email protected]>
3810 * sio.c: fixed PERCOM configuration (spotted by Erhard Puetz):
3811 - 1 track, 1 side for non-standard disk images (i.e. exactly 65535 sectors
3812 for 65535 sectors image)
3813 - 80 tracks for standard 720K, 1.44M and 2.88M disks
3814 - MFM byte is 0 for SD, 4 otherwise
3815 - unused bytes are set to 0
3816
3817
3818 2005-05-20 Piotr Fusik <[email protected]>
3819 * antic.c, sndsave.h, ui_basic.c: fixed an error and some warnings reported
3820 by GCC 4.0.0
3821
3822
3823 2005-05-13 James Wilkinson <[email protected]>
3824 * win32/atari_win32.c, win32/joystick.[ch], win32/main.c: added DirectX
3825 joystick support
3826
3827 * win32/atari_win32.c: cleaned up initialization with nonexistent config file
3828
3829
3830 ** 1.3.6 released on 2005-04-30
3831
3832 2005-04-30 Petr Stehlik <[email protected]>
3833 * ui.c, boot.h: "Make Blank Boot Disk" added to "Disk Management",
3834 inspired by LNG (lng.sourceforge.net). It creates a blank boot atr file.
3835 Before you can use this blank disk, you must format it. Patch by
3836 'maddoxik' (whoever he is, didn't supply real name).
3837
3838
3839 2005-03-24 Piotr Fusik <[email protected]>
3840 * cpu.c: fixed incorrectly saved N flag when entering the monitor (bug found
3841 by Marcin Lewandowski)
3842
3843 * devices.c: added "-help"
3844
3845
3846 2005-03-15 Achim Haertel <[email protected]>
3847 * casette.[ch], pokey.[ch], sio.[ch], pia.c: implemented cassette loading
3848 by hardware registers.
3849 Examples of now working games:
3850 - Ninja: (eof-)blocks pass on tape while the OS waits for a leader.
3851 - Elektraglide has a nonstandard format which is not readable by the
3852 SIO-patch but requires raw loading.
3853
3854
3855 2005-03-11 Piotr Fusik <[email protected]>
3856 * atari_x11.c: "-mouse" works. Set default clipping area to 336x240.
3857 x11-motif is now compilable, possibly also x11-xview.
3858
3859
3860 2005-03-10 Piotr Fusik <[email protected]>
3861 * atari_basic.c: updated for new Atari800_Frame()
3862
3863 * atari_sdl.c: corrected Atari_TRIG() and don't initialize sound on "-help"
3864
3865 * ui.c: "Extract ROM image from Cartridge" should skip the CART header,
3866 not just copy the whole file
3867
3868 * ui_basic.c: fixed a memory leak
3869
3870 * ui.[ch], atari.c, cpu.c: removed the unused "screen" parameter from ui()
3871 and SelectCartType()
3872
3873
3874 2005-03-09 Petr Stehlik <[email protected]>
3875 * atari_sdl.c: switched back to Atari800_Frame like all other ports do.
3876 So far everything looks OK. Why did Jacek abandon the Atari800_Frame
3877 way? Weird.
3878 Also finally disabled propagating of the KP0-KP9 keys to key_code.
3879 Without this the keyboard joystick emulation was mostly unusable.
3880 Needs a more general solution - masking out all keyboard joystick keys.
3881 Copy from atari_vga.c, it's solved properly there, IIRC.
3882
3883 * atari_x11.c: disabled propagating of the KP0-KP9 keys to key_code.
3884
3885 * configure.ac: enables linux joystick by default. The atari_x11.c needs
3886 a lot of cleanup: move the mouse emulation to input.c and make sure
3887 the keyboard joystick, mouse joystick and real joysticks do cope together.
3888
3889
3890 2005-03-08 Piotr Fusik <[email protected]>
3891 * antic.c: added missing combinations of ANTIC modes with GTIA modes.
3892 GTIA modes are correctly scrolled horizontally.
3893
3894 * compfile.c, devices.c, gtia.c, monitor.c, mzpokeysnd.c, sio.c, ui_basic.c:
3895 killed gcc -W warnings. Remained only the warnings about unused parameters.
3896
3897 * antic.c, input.c, dos/sound_dos.c: handle "-help" option
3898
3899
3900 2005-03-05 Piotr Fusik <[email protected]>
3901 * ui_basic.c: fixed "Error opening '' directory"
3902
3903 * input.[ch]: support AKEY_BREAK
3904
3905 * atari.[ch], atari_curses.c, atari_falcon.c, atari_svgalib.c, atari_x11.c,
3906 amiga/amiga.c, dos/atari_vga.c, win32/main.c, wince/port/atari_wince.c:
3907 support for special AKEY_*, refresh rate control and atari_sync()
3908 moved to Atari800_Frame()
3909
3910 * atari_curses.c, atari_falcon.c, atari_x11.c: F6 is Atari HELP key
3911
3912
3913 2005-03-03 Piotr Fusik <[email protected]>
3914 * win32/*, configure.ac:
3915 renamed win32/screen.[ch] to win32/screen_win32.[ch]
3916
3917 * wince/port/*, wince/PocketAtari.vcp:
3918 renamed wince/port/screen.* to wince/port/screen_wince.*
3919
3920 * atari.[ch], screen.[ch], antic.c, cpu.c, input.c, ui_basic.c:
3921 moved screen-related variables to the new "screen" module
3922
3923 * configure.ac, makefile, atari.[ch], screen.[ch], sio.[ch], atari_sdl.c,
3924 dos/atari_vga.c:
3925 deleted diskled.[ch], moved disk LEDs to the new "screen" module,
3926 added sector counter and speedometer
3927
3928
3929 2005-02-23 Piotr Fusik <[email protected]>
3930 * colours.[ch]: refactored, using jakub.act by default
3931
3932 * log.c, configure.ac: use vsnprintf only if available
3933
3934 * screen.[ch]: renamed from ataripcx.[ch] and added PNG screenshots
3935
3936 * atari.c, atari_curses.c, atari_sdl.c, atari_svgalib.c, atari_x11.c, ui.c,
3937 Makefile.in, amiga/makefile, dos/atari_vga.c, win32/main.c,
3938 wince/port/atari_wince.c, wince/PocketAtari.vcp:
3939 PNG screenshots
3940
3941
3942 2005-02-22 Piotr Fusik <[email protected]>
3943 * cartridge.c: switch back on the main bank of switchable XEGS cartridges
3944 (bug found by Chris Hutt)
3945
3946
3947 2005-01-06 Petr Stehlik <[email protected]>
3948 * atari_sdl.c: F8 (enter monitor) was not implemented. Fixed. Also
3949 entering monitor now switches off the fullscreen mode which makes
3950 the monitor usable in X-Windows (not sure about framebuffer but
3951 I'd guess for that one we'd have to turn off the graphics completely).
3952
3953
3954 ** 1.3.5 released on 2004-12-30
3955
3956 2004-12-29 Petr Stehlik <[email protected]>
3957 * atari_x11.c: Ken Zalewski contributed a patch for keyboard handling
3958 that fixes a segfault (XLookupString was called even if the event
3959 was not keyboard related).
3960
3961 * atari_x11.c: after looking into the keyboard handling under X11
3962 I realized that keyboard auto-repeat was not working at all.
3963 I tried to fix it by keeping the keycode status persistent.
3964 It seems to work in non-XVIEW/non-MOTIF version.
3965
3966
3967 2004-12-28 Petr Stehlik <[email protected]>
3968 * atari_sdl.c: Daniel Serpell contributed a patch for keyboard handling
3969 that makes the Atari800 keyboard working on non-US keyboard layouts
3970 simply by using the Unicode values of the keys (instead of scancodes).
3971 Also, keys Control-0 to 9 and Control-A to Z were added. The "Atari"
3972 key is mapped to the left Windows key, the Caps-toggle key is mapped
3973 to the right Windows key and the Atari Shift+F1 and Shift+F2 keys
3974 are mapped to host's PageUp and PageDown keys (as this is the function
3975 of those keys in the Atari-XL OS).
3976
3977
3978 ** 1.3.4 released on 2004-12-27
3979
3980 2004-11-26 Petr Stehlik <[email protected]>
3981 * rt-config.c: fixed many possible buffer overflows that were dangerous if
3982 atari800 was installed suid root. Thanks for analysis go to Adam Zabrocki.
3983
3984 * svgalib.c: fixes a compilation error when compiling with GCC 3.4.x
3985 (compiler chokes on label at end of block). Thank for patch to Andrew Church
3986
3987
3988 2004-11-17 Perry McFarlane <[email protected]>
3989 * antic.c: Fix for Timeslip game. Newcycleexact dmactl change bug.
3990
3991
3992 2004-09-24 Sebastian Bauer
3993 * ui_basic.c: fixed NULL pointer access in file dialog which happened if there
3994 were no files in the selected directory.
3995
3996 * amiga/*: updated
3997
3998
3999 ** 1.3.3 released
4000
4001 2004-08-08 Petr Stehlik <[email protected]>
4002 * various files: updated for 1.3.3 release
4003
4004
4005 2004-08-05 Christian Groessler <[email protected]>
4006 * atari_x11.c: adds the left ctrl key as joystick button if "-keypad" is
4007 in use. Also cleans up mostly by adding ANSI C function headers.
4008
4009
4010 2004-07-26 Sebastian Bauer
4011 * amiga/*: major update, cleanup, fixed console keys, upgraded sound support
4012
4013
4014 2004-07-05 Petr Stehlik <[email protected]>
4015 * configure.ac: Ken Ames sent a patch that supports OS/2
4016
4017
4018 2004-06-06 Petr Stehlik <[email protected]>
4019 * atari_x11.c: Christian Groessler's patch adds missing keyboard autorepeat
4020 when in the internal Atari800 debugger.
4021
4022 * prompts.c: fixed RemoveSpaces() - should not remove space from within
4023 the string, only leading and trailing space chars should be removed.
4024
4025 * rt-config.c, configure.ac: SUPPORTS_ATARI_CONFIG* now set in configure.ac
4026 for DOSVGA and SDL. This also fixes joystick definition not loaded in
4027 the DOSVGA port since the #ifdef VGA was changed to #ifdef DOSVGA.
4028
4029 * atari_sdl.c: emulated joysticks configured in the atari800.cfg file
4030 thanks to patch from Benny (Fishy_PKAT151). This is incompatible
4031 with the DOS VGA port configuration so I expect this to change
4032 before 1.3.3 release.
4033
4034 * rt-config.c: RemoveSpaces() called on both keyword and its value.
4035
4036 * rt-config.c, atari_sdl.c: bunch of Aprint() cleaned up
4037
4038
4039 2004-06-04 Petr Stehlik <[email protected]>
4040 * config.{sub,guess}, debian/*: updated by the atari800 debian diff file
4041
4042
4043 2004-06-03 Piotr Fusik <[email protected]>
4044 * antic.c: ANTIC mode 2 + GTIA mode 10 should be shifted right by a half
4045 of a pixel [a fix for the upcoming demo :-) ]
4046
4047
4048 2004-06-02 Petr Stehlik <[email protected]>
4049 * atari_x11.c: Christian Groessler suggested to add XK_Break key check
4050 so that Ctrl+Pause on linux machine generates the AKEY_BREAK keypress.
4051
4052
4053 2004-02-21 Petr Stehlik <[email protected]>
4054 * rdevice.c: Martin Albert, our new Debian package maintainer, suggested
4055 to allow /dev/ttyS0 for all Linux archs, which is a good idea.
4056 This device should be runtime configurable, anyway.
4057
4058
4059 2003-12-21 Petr Stehlik <[email protected]>
4060 * ui_basic.c: Aprint warning that fileselector couldn't open a folder.
4061 The warning should be propagated to the UI and shown to user. Or better
4062 yet, the Fileselector should be able to modify the path until it could
4063 open it (example: /tmp/state_files/ -> /tmp/)
4064
4065
4066 ** 1.3.2 released
4067
4068 2003-12-20 Petr Stehlik <[email protected]>
4069 * macosx/*: all old files removed and new up-to-date ones (from Mark Grebe)
4070 stored in a single macosx.tar.gz file for easier maintenance.
4071
4072 * various files: increased version for new 1.3.2 release
4073
4074
4075 2003-12-16 Piotr Fusik <[email protected]>
4076 * cartridge.[ch], ui.c, DOC/cart.txt, DOC/README: new cartridge types:
4077 Phoenix and Blizzard
4078
4079 * cassette.c: write cassette description, update tape position indicators
4080 when writing, changed C++ style comments to traditional
4081
4082 * atari.c: check OS before applying C: patches
4083
4084
4085 2003-12-17 Mark Grebe <[email protected]>
4086 * compfile.c: Fixed serious bug in Type 41 decoding
4087 * mzpokeysnd.c: Added console and SIO Sound back in
4088
4089
4090 2003-11-22 Achim Haertel <[email protected]>
4091 * atari.c: when the snailmeter is enabled and the speed grown beyond 100%
4092 a negative amount of memory was tried to be filled.
4093
4094
4095 2003-11-14 Achim Haertel <[email protected]>
4096 Cassette handling greatly improved:
4097
4098 * atari.[ch]: OS patched for tape leader recognition
4099
4100 * cassette.[ch]: Loading improved, skips now blocks which pass on tape while
4101 the OS waits for a leader. Writing implemented. Some bugfixes (CAS format
4102 chunk header size is always 8, record checksum for raw files).
4103
4104 * sio.c: Evaluates i/o-commands for cassette
4105
4106 * ui.c: "Load tape image" renamed to "Select tape image"
4107
4108 The remaining open points are:
4109 - State of cassette operation is not saved in state file - is the expense
4110 necessary?
4111
4112 - Tape file selector (and disk too) would need 2 additional points at top:
4113 <Eject> and <New> (atm tape save is only possible if you create a file
4114 with 0 length and insert that).
4115
4116
4117 2003-11-13 Perry McFarlane <[email protected]>
4118 * antic.c: DMACTL NEW_CYCLE_EXACT width decrease fix for SERIOUS diskmag #8
4119
4120
4121 2003-11-13 Petr Stehlik <[email protected]>
4122 * log.c: corrected buffer overflow found by Laios Mircea
4123
4124
4125 2003-10-26 Mark Grebe <[email protected]>
4126 * cartridge.c, sio.c, statesav.c: saving disk and cartridge info
4127 in the state file. Bumped the state file version number, and then added
4128 save functions to the Cart and SIO files. It currently supports reading
4129 the current version (3) as well as the new version (4) state files.
4130 It writes only the new version (4). The filename information for cartridge
4131 and disk information is stored in two ways. It is stored as a relative
4132 path if the file is in the emulator's directory tree, and it is stored
4133 as an absolute path if it isn't. If it doesn't find the cartridge or disk,
4134 it does not refuse to load the state, but continues. New state file format
4135 works extremely well with the bank switched cartridges.
4136
4137
4138 2003-10-25 Petr Stehlik <[email protected]>
4139 * atari_falcon.c: disable compiling with stereo sound enabled
4140
4141 * log.c: do MacOSX a favor and generally allow platform specific Aprint
4142 output
4143
4144 * atari.c: wrong path to disk image is not a reason to quit with an error
4145 message
4146
4147 * mzpokeysnd.c: simple fix for SERIO_SOUND (thanks to Mark Grebe)
4148
4149 * pokey.c: some platforms (MacOSX) might need different SOUND_GAIN
4150 so it's possible to define it in configure/Makefile now.
4151
4152 * atari_sdl.c: hatefully backported fix from input.c (see 2003-09-21)
4153 Somebody should inspect the atari_sdl.c why it doesn't use the
4154 Atari800_Frame system and possibly use it in the SDL port as well.
4155
4156 * DOC/TODO: some items removed, some edited.
4157
4158
4159 2003-10-24 Piotr Fusik <[email protected]>
4160 * sio.c: "Overmind" runs with NEW_CYCLE_EXACT and SIO patch enabled.
4161 I implemented NO_SECTOR_DELAY in 0.9.9i to allow running the "Overmind"
4162 demo. Originally this hack relied on the xpos variable and thus wasn't
4163 NEW_CYCLE_EXACT compatible. Now the delay occurs only between
4164 successive reads of sector 1, not every time reading sector 2.
4165 This makes every disk image boot 0.2 sec. faster.
4166 * sio.h: NO_SECTOR_DELAY is internal to sio.c
4167
4168
4169 2003-09-23 Piotr Fusik <[email protected]>
4170 * ui.c, sio.h: added Rotate_Disks() to UI
4171
4172
4173 2003-09-22 Perry McFarlane <[email protected]>
4174 * antic.c: got sprite collisions working with NEW_CYCLE_EXACT
4175 (broken by mistake)
4176 * antic.c: a fix for "Sweet Illusions" part with wireframe vectors
4177 (sprites highlighting the scrolling text)
4178
4179
4180 2003-09-21 Piotr Fusik <[email protected]>
4181 * input.c: implemented bit 6 of SKSTAT - now you can exit from
4182 the "spinning camera" part of "Cool Emotion"
4183 * mkimg.c: general clean-up: int main, fixed #includes, etc.
4184
4185
4186 2003-09-16 Perry McFarlane <[email protected]>
4187 * antic.c: cycle-perfect CHACTL mid-scanline changes
4188 * DOC/BUGS: updated
4189
4190
4191 2003-09-15 Chris Martin <[email protected]>
4192 * DOC/rdevice_faq.txt: detailed documentation
4193
4194
4195 2003-05-28 Chris Martin <[email protected]>
4196 * rdevice.c: fixed several bugs with the sockets version, and it now includes
4197 a serial port mode as well. The R: device can now be emulated by network
4198 sockets or you can connect directly to the host serial ports (/dev/ttyS0,
4199 etc.) in order to talk to a real modem.
4200
4201 There is a variable near the top of the rdevice.c file called 'r_serial'.
4202 When this is 0, network sockets are used; when it is 1, the RS232 port on
4203 the host is used. This variable should be moved to rt-config.h and the
4204 atari800 config file could have a line that says:
4205
4206 R_SERIAL=1
4207
4208
4209 2003-09-04 Petr Stehlik <[email protected]>
4210 * compfile.c, devices.c: small fix for possibly undefined O_BINARY in the
4211 mkstemp emulation from Perry. This could help me compiling Atari800
4212 on Falcon where I have an older version of MiNTlib.
4213 Also make sure "config.h" is included wherever you rely on configure
4214 defines..
4215
4216 * DOC/BUGS: some bugs removed as direct response on Perry's newest patches.
4217 Possibly many more bugs from this list could be removed now.
4218
4219 * DOC/TODO: added three very important things to do at the top of this
4220 TO-DO list. Also added an item about configuring the R: device, this
4221 time at the bottom of the list.
4222
4223
4224 2003-09-14 Perry McFarlane <[email protected]>
4225 * win32/sound.c: round buffer to a sample pair if STEREO sound configured
4226
4227 * compfile.c, devices.c, configure.ac: make sure mkstemp() is defined and
4228 if it's not, emulate it using mktemp(). Helps compiling in mingw32.
4229
4230 * antic.c: CHBASE timing is cycle-exact now. Fixes Endless Dream (credits
4231 in the intro), among others.
4232
4233 * gtia.c: DMACTL timing is now improved. Fixes Sweet Illusions (sprites
4234 highlighting the scroll) and surely also other games and demos.
4235
4236
4237 2003-09-04 Petr Stehlik <[email protected]>
4238 * configure.ac: forgot to increase version
4239
4240 * util/export: added check for version in configure.ac
4241
4242 * ChangeLog: some older entries about fixing bugs in Debian BTS corrected
4243
4244 * debian/*: taken from fresh debian package of Atari800 1.3.1
4245
4246
4247 ** tagged as ATARI800_1_3_1
4248
4249 2003-09-04 Petr Stehlik <[email protected]>
4250 * configure.ac: svgalib target added
4251
4252 * SVGAlib target dropped from Debian and RPM build scripts
4253
4254 * -rc1 removed from everywhere, it was causing pain for the build scripts
4255
4256 * sockets.txt renamed to r_device.txt
4257
4258 * Makefile.in: rewritten a bit the install process. Now actually becoming
4259 usable - for example "make install DESTDIR=/tmp" now does something
4260 useful. There's a bit more work to do - install the rest of documentation
4261 and write 'uninstall' target.
4262
4263 * atari800.spec: builds on the Makefile.in improvement. Now should finally
4264 install the man page everytime.
4265
4266
4267 ** tagged as ATARI800_1_3_1-RC1
4268
4269 2003-09-03 Petr Stehlik <[email protected]>
4270 * dos/vga_gfx.h: wrong #endif fixed
4271 * dos/atari_vga.c: cleaned up a bit, added #ifdef SHOW_DISK_LED
4272 * configure_dos.bat: default target and bufferedlog pre-set
4273 * atari.h: version increased to 1.3.1-rc1
4274
4275
4276 2003-08-31 Petr Stehlik <[email protected]>
4277 * rdevice.c: GPL header added (hope that it actually was free source before
4278 Chris brought it to Atari800 project)
4279
4280 * rt-config.c: R: patch is not enabled by default. It can be enabled in the UI
4281
4282 * ui.c: R: patch named as "Atari850 emulation via network" (better description
4283 welcome)
4284
4285 * DOC/sockets.txt: this is the explanation of R: - couple of excerpts from
4286 Atari800 mailing list mails.
4287
4288
4289 2003-08-31 Ed Cogburn <[email protected]>
4290 * Makefile.in, configure.ac: rdevice.o compiled and linked in only on linux
4291 or Unix and unless --disable-riodevice was used when configuring.
4292
4293 * devices.c, atari.h: R: is compiled in only if R_IO_DEVICE is defined (see
4294 configure --enable-riodevice, note that it is defined by default)
4295
4296
4297 2003-08-05 Petr Stehlik <[email protected]>
4298 * atari.c: tried to fix a recent security issue known as CAN-2003-0630,
4299 found by Debian Security Audit Project, Debian BTS #203707.
4300 In order to provide a complex fix (better than the one suggested in BTS)
4301 I wrote code that is not looking very well but works correctly, hopefully.
4302 Nevertheless this fixes only the core module arguments parsing - the
4303 sound module and port specific modules do it on their own and that
4304 should be fixed as well. Best by going for GNU getopt!
4305
4306 Also the osa/osb/xlxe/5200/basic rom loading options were not documented
4307 in the "-help" list. Fixed.
4308
4309 * atari_sdl.c: refresh_rate unused, removed
4310
4311
4312 2003-08-05 Achim Haertel <[email protected]>
4313 * sio.c: fixed random timeout while sectorread at datatransfer with
4314 command frames.
4315 - added: xf551 hispeed commands (0xA1, 0xA2, 0xD0, 0xD2, 0xD7)
4316 - added: status command reports errors in last read/write operation
4317
4318 caveat: the only commandframe which transfers in hispeed is sectorread,
4319 all other use normal speed in the emu
4320
4321 * pokey.c: xf551 hispeed transfer uses SIO speed 0x10
4322
4323
4324 2003-07-04 Piotr Fusik <[email protected]>
4325 * mzpokeysnd.c: added key click
4326
4327 * cpu.c: a fix for "CMC Demo" crashing NEW_CYCLE_EXACT emulator
4328 (the problem could probably exist in many other demos
4329 which play samples using IRQ)
4330
4331
4332 2003-06-27 Perry McFarlane <[email protected]>
4333 * cycle_map.[ch]: a fix that prevents "Cool Emotion" demo from crashing
4334 NEW_CYCLE_EXACT emulator if P: patch is disabled
4335
4336
4337 2003-06-18 Petr Stehlik <[email protected]>
4338 * config.{sub,guess}: upgraded to latest versions from autotools-dev package
4339 in order to fix the Debian BTS #193397 (problem supporting the Debian mips
4340 and mipsel architectures).
4341
4342
4343 2003-06-15 Petr Stehlik <[email protected]>
4344 * compfile.c: quick fix for non-zlib capable environments
4345
4346
4347 2003-05-28 Petr Stehlik <[email protected]>
4348 * cpu_m68k.asm: major update, brings it to the 1.3.0+ level of cpu.c
4349 Thanks Gerhard.
4350
4351 * devices.c, atari.h, rdevice.[ch]: new R: device support (sockets).
4352 Originally written by Tom Hunt. Fixed, updated and prepared for Atari800
4353 integration by Chris Martin <[email protected]>. Thanks Chris!
4354
4355 * atari.c, ui.c, rt-config.[ch], Makefile.in: updated to allow run-time
4356 configuration of the R: entry in HATABS.
4357
4358 * DOC/sockets.txt: it's an excerpt from mails I got from Chris. It may
4359 explain some basic ideas about the R: device.
4360
4361
4362 2003-03-07 Piotr Fusik <[email protected]>
4363 * pia.[ch], memory.[ch], atari.c: fixed MultiJoy and PORTB:
4364 PORTA must be configured as output to select MultiJoy port.
4365 PORTB direction register can be read.
4366 PORTB lines stay high if configured as inputs
4367 ("Road Race" works in XL/XE mode - didn't since 1.2.4).
4368 Reset sets PORTB output (not 0xD301, which may be direction register
4369 at the moment) to 0xFF.
4370 * cartridge.c, cassette.c, input.c: copyright fix (I created these files)
4371
4372
4373 2003-03-03 Mark Grebe <[email protected]>
4374 * ui.c: Save/Load Disk Set implemented. Result of Save is a text file
4375 containing names of the disk images that are currently in the drives.
4376 On saving drives with no disks are marked as "Empty" and on loading
4377 no changes are made to such drives. This allows the user to load multiple
4378 disk sets sequentially. File extension is ".set".
4379
4380
4381 2003-03-03 Ed Cogburn <[email protected]>
4382 * mzpokeysnd.c: Initialize some uninitialized variables to fix gcc warning
4383
4384 * devices.c, compfile.c: tmpnam() -> mkstemp() to fix gcc warning
4385
4386 * atari_sdl.c: control key support added (how it could be compiled before?)
4387
4388 * configure.ac: massive rewrite, new way of handling our options. Config
4389 summary added.
4390
4391 * Makefile.in: a number of small changes, and OBJ is changed to OBJS for
4392 consistancy within configure.ac
4393
4394 * atari.c, diskled.c, sio.c: diskled module is compiled in only if it's
4395 enabled in configure.
4396
4397
4398 2003-02-27 Piotr Fusik <[email protected]>
4399 * cartridge.[ch], ui.c, DOC/cart.txt, DOC/CREDITS, DOC/README:
4400 new cartridge type
4401
4402
4403 2003-02-24 Ed Cogburn <[email protected]>
4404 * added copyright headers to all *.c and *.asm files. Tried to collect
4405 as much info as possible from the various ChangeLogs but if the author
4406 in the header is incorrect please don't hesitate to send me a correction.
4407
4408 * fixed all *.h files to use the same consistent format (#ifndef _FILE_H_ )
4409
4410 * reformatted DOC/CREDITS
4411
4412
4413 2003-02-19 Ed Cogburn <[email protected]>
4414 * configure process: cleans up some things, fixes a few little things,
4415 rewrote the message screen when nothing is typed, and reorganizes/changes
4416 the --enable options and the symbol names (defines) for those options.
4417
4418 First, all options are now --enable-xxx, because I flipped all the inverse
4419 options. In other words, all symbol names declared for options here in
4420 configure now mean the feature is enabled if the symbol is defined, for
4421 consistancy, and to make it easier to figure out what options need to be
4422 set. The display when you use '--help' also puts those features which
4423 default to on at the top of the list, so its easy to look down the list
4424 and understand whats going on now.
4425
4426 For those options that I flipped, I made the necessary fixes to the other
4427 source files, mainly changing #ifdef to #ifndef or vice-versa.
4428 I also changed symbol names where I thought it made sense. So for examples:
4429 'NOSNDINTER' is flipped to "INTERPOLATE_SOUND".
4430 'NO_VOL_ONLY' is flipped to 'VOL_ONLY_SOUND'.
4431 'CLIP' is now 'CLIP_SOUND'.
4432 'STEREO' is now 'STEREO_SOUND'.
4433 'JOYMOUSE' is now 'SVGA_JOYMOUSE'
4434 'USE_CURSORBLOCK' is now'SVGA_CURSORBLOCK' because these two options are
4435 only valid with the svgalib target, just like 'SVGA_SPEEDUP'. 'CPUASS'
4436 is now 'FALCON_CPUASM' since its only valid with the falcon target.
4437 Symbols that started with 'NO_' have been flipped, mostly to their original
4438 name without 'NO_'. 'SET_LED' is gone, and 'NO_LED_ON_SCREEN' has been
4439 flipped to 'SHOW_DISK_LED'.
4440
4441 2003-02-18 Petr Stehlik <[email protected]>
4442 * atari_sdl.c: sends more Atari keys: SETTAB/CLRTAB, HELP, CAPSLOCK,
4443 INSERT_LINE/CHAR, DELETE_LINE/CHAR. Thanks to Mark for updating the file.
4444
4445 2003-02-17 Petr Stehlik <[email protected]>
4446 * debian/ folder with deb scripts added (taken from official Atari800
4447 debian package created by Dale Scheetz)
4448 * atari_sdl.c: window gets a title (thanks to Jozef for suggestion)
4449
4450 2003-02-11 Vasyl Tsvirkunov <[email protected]>
4451 * antic.c: added missing guard around extern reference
4452 * mzpokeysnd.c: C standard compliance fix
4453 * wince\*: WinCE/PocketPC updated
4454
4455 ** tagged as 1.3.0
4456
4457 2003-02-10 Petr Stehlik <[email protected]>
4458
4459 * pokey.c, monitor.c: added include. Interesting is that my compiler at
4460 home hasn't complained but the gcc-3.2.2 here at work was uncompromising.
4461 * atari.c: "--help", "--usage" and "--version" recognized now, though the
4462 former two just ask user to type "-help" again.
4463 * pokeysnd.[ch]: fixed typo errors
4464 * configure.in: alternate user and system-wide config file names for DOS
4465 and TOS ($HOME/atari800.cfg and C:\atari800.cfg) since their filesystem
4466 is still limited to 8+3 filenames.
4467 * win32/sound.c: restored original behaviour of "-quality" switch.
4468 * atari800.man: version increased, SDL option "-audio16" added.
4469 * win32/sound.c: "-bit16" renamed to "-audio16" to be in sync with SDL port
4470 * emuos.h: finally updated with proper URL
4471 * most files in DOC folder updated with minor fixes
4472
4473 2003-02-09 Petr Stehlik <[email protected]>
4474
4475 * pokey.[ch]: 'stereo_enabled' variable moved to rt-config.c
4476 * prompts.[ch]: YesNo() renamed to GetYesNo() and added GetYesNoAsInt()
4477 that allows user to enter Y/N in the RtConfigUpdate process
4478 * rt-config.c: added 'enable_new_pokey'
4479 * added "ENABLE_NEW_POKEY" and "STEREO_POKEY" config options
4480 * removed all the code for backward compatibility since it could cause
4481 confusion if both old and new option existed in one config file
4482 * updated for GetYesNoAsInt() prompt
4483 * completely reworked the way the config file is searched for on disk:
4484 now it first tries in user's $HOME folder file named ".atari800.cfg"
4485 (which is configurable at compile-time) and later it falls back
4486 to system wide "/etc/atari800.cfg" (also configurable at compile-time).
4487 * also saving to user defined config file (-config <fname>) should work
4488 now (contrary to previous state where it saved to default file).
4489 * actual config filename is printed so users are sure which file was
4490 used (if their configured, or $HOME, or the system wide one)
4491 * ui.c: updated for 'enable_new_pokey'
4492 * pokeysnd.c: it wasn't clear to me how important the 'quality' parameter
4493 was so I added a function Pokey_set_quality(int). If it wasn't that
4494 important (was for testing only?) then let's remove this function.
4495 * pokeysnd.c: a new function "Pokey_DoInit()" does the actual initialization
4496 of the Pokey emulation. It's been separated from Pokey_sound_init to
4497 allow calling from UI.
4498 * atari_amiga.c, sound.c, sound_falcon.c, dos/sound_dos.c, win32/sound.c,
4499 wince/sound.c: updated for Pokey_sound_init()'s number of parameters.
4500 * atari_sdl.c: removed "-mzpokey", "-oldpokey" and "-stereo" command line
4501 switches. This job (cleaning up the bloated command line options) was
4502 actually one of the main reasons for all my today's changes.
4503 * configure.in: STEREO sound enabled by default. Shouldn't hurt since
4504 at the same time the 'enabled_stereo' is FALSE by default. So basically
4505 released binaries will be able to turn on stereo anytime users'll wish.
4506 Slower machines might want to disable this (as well as pixel-exact
4507 Antic emulation and a few more things) before building. Configure script
4508 could even take care of that if it knew which targets are running on
4509 slow machines.
4510 * atari.h, DOC/NEWS, DOC/INSTALL updated with info from above.
4511
4512 ** tagged as 1.2.10
4513
4514 2003-02-09 Petr Stehlik <[email protected]>
4515
4516 * pokeysnd.[ch]: added Pokey_set/get_quality() that allows me to switch
4517 the Pokey routines (Ron Fries/Michael Borisov) on-the-fly from UI.
4518 * ui.c: Sound Settings submenu added. Allows changing the Pokey routines
4519 on-the-fly (automatically reboots) and also Mono/Stereo (if compiled in).
4520 * emuos.lis: updated URL
4521
4522 2003-02-08 Petr Stehlik <[email protected]>
4523
4524 * atari_sdl.c: signal keyboard interrupt only when it's enabled
4525 (bugfix copied from input.c where it was fixed by Piotr)
4526 * configure.in, acconfig.h: autoconf 2.5x required again. OS/2 and other
4527 platforms with old autoconf can use the pre-generated configure script
4528 found in released versions.
4529 * atari_curses.c: exit() was not defined so I replaced it by return.
4530 * atari_x11.c: some variables are used only if SHM is not defined
4531 * configure.in, ui_basic.c: "CURSES" replaced by "USE_CURSES" so that
4532 compiler doesn't complain about a redefined stuff
4533 * pokeysnd.c: null functions defined properly to avoid compiler warnings
4534
4535
4536 2003-02-04 Petr Stehlik <[email protected]>
4537
4538 * configure.in, acconfig.h: after few days of autoconf 2.5x support I
4539 rolled back the changes since Ken Ames had a problem with upgrading
4540 autoconf on OS/2.
4541
4542 ** tagged as 1.2.9
4543
4544 2003-01-27 Perry McFarlane <[email protected]>
4545
4546 I am going to send my cycle-exact patch now because I don't have any
4547 more time to work on it. Hopefully it will be useful. I hope
4548 it is not a problem to apply the patches. I tried to make them
4549 to the current version. They need more testing, though.
4550 In particular state saving is not tested.
4551
4552 I have been working over the past few weeks on some improvements
4553 to the Atari800 emulator.
4554 I wanted to add support for mid-scanline changes to colours
4555 and players which are used by some (few) games and demos.
4556 I have written some code that does this, as a patch to
4557 the current code base.
4558 To avoid using the new code './configure --disable-cycleexact'
4559 This patch will fix display bugs in Master of the Lamps,
4560 Mail order monsters etc.
4561 However there were still a few bugs in some programs (see BUGS)
4562 and I haven't had time to fully test it. I also have run out
4563 of personal time to work on this code for a while so I won't have
4564 much time to maintain it. I think I should submit it now and
4565 hopefully it can be used to help improve the emulator. If I had
4566 more time I would have completed more of the changes I wanted, see
4567 TODO in the code for some future ideas.
4568 As for efficency, it is probably going to be slower than normal
4569 to use this code, but it seems OK on my (fast) machine, so
4570 since it is a #define to remove the new technique I hope this
4571 will not be a problem.
4572
4573 There is also a test program called T7.bas which I was using to
4574 help find out how the real Atari's timing works, it might
4575 be of interest to someone. (probably not) I am going to include
4576 it anyways along with some brief documentation. There is asm code
4577 t7.asm and a c program bdata.c that converts asm to Atari basic data
4578 statements. T7.asm can be compiled with ATASM.
4579
4580 * antic.c, gtia.c, cycle_map.c:
4581 Cycle-exact changes to colours, player horizontal positions, player
4582 graphics.
4583 Basic idea: arrays cpu2antic and antic2cpu are created in
4584 cycle_map.c Antic.c selects the correct cycle map
4585 based on the IR mode and scanline #, DMACTL screen width and HSCROL
4586 then cpu2antic_ptr and antic2cpu_ptr will convert the cpu's cycles
4587 to those of antic and vice-versa. xpos will now represent the
4588 cpu's perception of cycles and not the acutual xpos.
4589 font_cycles, DMAR etc are not used. When the cpu changes
4590 a display register, the display is updated partially to the point
4591 where the change occurs. A function draw_partial_scanline does
4592 this using the existing antic drawing code in a somewhat hackish way.
4593
4594 cycle-exact GTIA11_DELAY for "Demonic laughter" demo.
4595 using ring buffer approach
4596
4597 Improved handling of DMACTL changes in the middle of a scanline.
4598 Fixes: Decathlon, Mail order monsters.
4599 Emulation of a DMACTL width change bug.
4600
4601 * cpu.c, monitor.c:
4602 The monitor remembers xpos and ypos in a buffer.
4603 A new command, YBREAK, can cause a breakpoint at a given scanline(ypos)
4604 setting YBREAK ypos+1000 causes a flickering line to appear at
4605 that point on the screen rather than breaking the cpu. This allows
4606 debugging what happens at that scanline more easily.
4607 The memmove approach for remember_JMP, remmeber_PC has been replaced
4608 with a more efficent ring buffer approach
4609 The HISTORY command now gives a disassembly of the last N instructions
4610 where N=64 by default, and if the new cycle-exact code is used, it
4611 also gives the xpos and ypos of those instructions.
4612 correction to SIZEP2 SIZEP3 equates
4613
4614 * pokey.c:
4615 cycle-exact random number generator reads.
4616
4617 ** tagged as 1.2.8
4618
4619 2003-01-27 Jason Duerstock <[email protected]>
4620
4621 * PAGED_ATTRIB support, removing the attrib[] array and replacing it with
4622 a map of 256 pointers (one for each page of memory. If the pointer is
4623 NULL, then the memory[] array will be accessed directly.
4624
4625 This change is activated through './configure --enable-paged'.
4626
4627 In my estimation, this should improve the performance of the emulator,
4628 removing 64K of cache usage, and short-circuiting some switch {}
4629 statements.
4630
4631 Note that this will render old saved-state files incompatible.
4632
4633 There are a few short bits not finished yet, one of which being the
4634 "H:" device patch, which is mapped into 0xd1xx (parallel bus space),
4635 the other being state saving.
4636
4637 My idea on how to do this is through the following struct:
4638
4639 map_save save_map[2] = {
4640 {0, NULL, NULL}, /* RAM */
4641 {1, NULL, ROM_PutByte} /* ROM */
4642 };
4643
4644 The readmap and writemap will be compared with the pair of pointers
4645 in the struct, and a byte (the first column) will be saved for each
4646 page.
4647
4648 On restore, the byte will be used to reconstruct the readmap and
4649 writemap.
4650
4651 * Several warnings have been cleaned up through inclusion of the proper
4652 headers.
4653
4654 * 'make distclean' has been added, to remove all the files generated
4655 from autoconf and ./configure
4656
4657 In the process, I removed the (admittedly ugly) memory.[ch] redirection
4658 to memory-[pd].[ch]. If the general consensus is that PAGED_ATTRIB
4659 is a step in the right direction, then I will look at tacking PAGED_MEM
4660 back on through PAGED_ATTRIB.
4661
4662 Any comments, suggestions, critiques, etc are appreciated.
4663
4664 joy> something has to be done regarding the saved-state files. Backward
4665 compatibility is a key thing in this area.
4666
4667 ** tagged as 1.2.7
4668
4669 2003-01-27 Mark Grebe <[email protected]>
4670 * devices.c:
4671 I've finally got around to finishing the upgrade to
4672 the hard disk emulation. It now fully support
4673 subdirectories. It supports CREDIR, RMDIR, CWD, ?DIR
4674 in SpartaDos and BW-DOS. It also supports their XIO
4675 equivelents, and subdirectories work in all the other
4676 DOS commands as well. It uses '>' and '>>' as
4677 directory seperators like SpartaDOS and BW-DOS. I've
4678 also added support for the binary load commands, and
4679 added a path string for use with the H: devices, as
4680 the standard path won't work for them.
4681
4682 It really needs a documentation writeup, but I've
4683 been gettting swamped at work, so that will come as I
4684 get time, but thought I would get this to everyone
4685 now, as I released it in the last release of
4686 Atari800MacX. I've tested it on the Mac, as well as
4687 Windows and the Linux SDL port.
4688
4689 The only other change that is needed, is that
4690 Device_HHINIT should be called during Coldstart(), so
4691 that the working directories get reset to the root
4692 directory.
4693
4694 joy> Note that it may needs the same patches that were applied
4695 to devices.c in version 1.14. But I don't have an Amiga handy
4696 so I'll let someone else do it.
4697
4698 ** tagged as 1.2.6
4699
4700 2003-01-27 Piotr Fusik <[email protected]>
4701 * antic.c: swapped GTIA and CTIA artifacting modes
4702 (swapped by mistake in 0.9.9j)
4703 * input.c: signal keyboard interrupt only when it's enabled
4704 (fixes Atari crash after SHIFT and * in Super Pacman 5200)
4705
4706 2002-12-16 Krzysztof Nikiel <[email protected]>
4707 * colours.c: corrected color/BW conversion (Vasyl was right)
4708
4709 2002-12-08 Krzysztof Nikiel <[email protected]>
4710 * pokeysnd.c mzpokeysnd.c: Added 16bit and quality sound setting support.
4711 Added multiple sound engines support.
4712
4713 2002-12-04 Mark Grebe <[email protected]>
4714 * devices.c: device H: now fully emulates the standard DOS functions
4715 Rename, Delete, Lock, Unlock, Note, Point, and Open for Update.
4716 Also changed the directory listing to look like the standard Atari
4717 DOS 2.0 listing. (The sector count is based on 256 byte sectors).
4718
4719 ** released as 1.2.5 on 2002/12/02
4720
4721 2002-11-25 Piotr Fusik <[email protected]>
4722 * DOC/cart.txt: fixed a few typos
4723
4724 2002-11-06 Petr Stehlik <[email protected]>
4725 * ui.c:
4726 - applied patch from Ed Cogburn that fixes subsequent mounting
4727 of R/W disks in slot that was mounted R/O previously.
4728 - finally implemented the R/W <-> R/O mode switching using the Space Bar.
4729 Please note that this R/W <-> R/O switch is just temporary and does
4730 not change the writeprotect flag of ATR images. Besides, it cannot
4731 override this flag so you actually can't mount a writeprotected ATR
4732 image read/write using this Space Bar toggle.
4733
4734 * atari.c: Ken Ames sent me a very simple patch that is supposed to allow
4735 compiling the Atari800 on OS/2 "using Hob X11, XFree86, or IBM's X11
4736 server".
4737
4738 2002-09-16 Piotr Fusik <[email protected]>
4739 * cartridge.[ch], ui.c, DOC/cart.txt: five new cartridge types (Nir Dary)
4740
4741 2002-09-05 Piotr Fusik <[email protected]>
4742 * cartridge.[ch], ui.c, DOC/cart.txt, DOC/README: seven new cartridge types
4743 (by Nir Dary)
4744
4745 2002-08-26 Adam Bienias
4746 * pokeysnd.c: a fix for better quality of sound
4747
4748 2002-08-21 Piotr Fusik <[email protected]>
4749 * antic.c: ANTIC mode E + GTIA mode 9 ("Unconventional 2k", "Ass Kisiel")
4750
4751 2002-08-15 Piotr Fusik <[email protected]>
4752 * DOC/BUGS: "Numen" soundtrack
4753 * cartridge.[ch], ui.c, DOC/cart.txt: 1 MB XEGS cart
4754 * input.c: Amiga/ST mouse right button ("Bombdown")
4755 * input.h, input.c, pia.c: MultiJoy4 interface (4 joysticks for XL/XE)
4756
4757 ** released as 1.2.4
4758
4759 2002-08-07 Petr Stehlik <[email protected]>
4760 * atari_sdl.c:
4761 - added atexit(SDL_Quit) to clean up after unsuccessful initialization.
4762 - fixed "-help" so that it doesn't initialize graphics mode.
4763 - added "-sound" and "-nosound" support so you can disable sound if
4764 your sound card is not plugged in :)
4765 - added "-dsprate" support
4766 - added support for the configure option --disable-SOUND
4767 - added Aflushlog() to Atari_Exit() thus debug info is displayed now
4768 - when sound card init failed the application continues to run with sound
4769 disabled (previously it was exiting immediately)
4770 * atari_sdl.c, atari_falcon.c, cassette.c, atari.c, atari_vga.c:
4771 fixed "-help" formatting
4772 * atari_curses.c: added "-help"
4773 * atari.c, atari_curses.c, atari_x11.c: added Aflushlog() to Atari_Exit()
4774 * atari_x11.c: fixed the clean up code in Atari_Exit(), added help_only mode
4775 * sound.c: all printf's changed to Aprintf().
4776 * atari.c: "-v" or "-version" displays the version correctly now
4777 * atari_vga.c: added help_only mode and made sure Atari_Exit is aware of that
4778 * sound_dos.c: removed EOL ("\n") from Aprint() (it adds the \n automatically)
4779
4780 2002-07-24 Piotr Fusik <[email protected]>
4781 * cartridge.[ch], ui.c, DOC/cart.txt, DOC/README: 256K and 512K XEGS carts
4782 (thanks to Nir Dary)
4783
4784 2002-07-14 Piotr Fusik <[email protected]>
4785 * atari.c, memory-d.c, ui.c: emulation of 576K and 1088K RAM machines
4786 * pia.c: removed a hack that affected 1088 XE
4787 * antic.c, memory-d.c, atari800.man: separate ANTIC access to extended memory
4788 for 130 XE and 320 Compy Shop
4789 * DOC/README: updated features
4790
4791 2002-07-11 Krzysztof Nikiel <[email protected]>
4792 * configure.in: Freature processing redesigned to be more consistent.
4793 Correct enable/disable info is printed in help.
4794
4795 ** released as 1.2.3
4796
4797 2002-07-04 Vasyl Tsvirkunov <[email protected]>
4798 * ui.c,gtia.c,atari.h,cassette.h: cassette image loading is available from
4799 main menu. Also, main menu allows to persist "Hold Start" setting.
4800 Interlaced screenshot is commented out in main menu.
4801 * ui_wince.c: updated to reflect above changes (one port-specific item was
4802 piggyback on interlaced screenshot, had to move).
4803
4804 2002-07-04 Piotr Fusik <[email protected]>
4805 * atari.c, memory-d.c, ui.c: emulation of 16K RAM machines: 400 and 600XL
4806 * cpu.c: cycle-exact LSR $D01A
4807 * input.c: after playing with real paddles changed mouse_pot_min to 1
4808 * monitor.c: fixed optype6502[] to match unofficial instructions
4809
4810 2002-06-27 Petr Stehlik <[email protected]>
4811 * atari_sdl.c: updated LPTjoy support to compile under Linux only. If there's
4812 another Unix flavor that can read parallel port using ioctl then it can be
4813 easily added. Just define LPTJOY for it (see the begining of atari_sdl.c).
4814
4815 2002-06-27 Piotr Wiszowaty <[email protected]>
4816 * atari_sdl.c: added LPTjoy support for Linux
4817
4818 2002-06-23 Petr Stehlik <[email protected]>
4819 * OK, the "-palette" patch from Andrew was completely wrong. I fixed it
4820 the right way and when I was at it I also moved the "-palette" command
4821 line option from main atari.c to colours.c.
4822 * I also decided to fix the command line options in general, so I made some
4823 changes to atari.c and atari_x11.c.
4824 * At last I corrected a bunch of things in atari_sdl.c so that now SDL port
4825 recognizes "-help". The other options now use single "-" to conform to
4826 the rest of Atari800 application.
4827
4828 2002-06-20 Petr Stehlik <[email protected]>
4829 * atari.c: "unistd" header included - it should fix a start problem on FreeBSD
4830 4.5 according to an anonymous patch on sf.net.
4831 * colours.c: loaded color palettes were ignored. Andrew Church posted a patch
4832 on sf.net that fixes it.
4833 * atari800.man: manual page updated by Rob McMullen
4834
4835 2002-04-11 Piotr Fusik <[email protected]>
4836 * pokey.c: allow high-speed disk i/o (Alpha-Load works)
4837
4838 2002-04-07 Christian Groessler <[email protected]> and Petr Stehlik
4839 * non-ANSI "t" parameter in fopen ("rt" and "wt" used for CR/LF files
4840 in DOS-like operating systems) removed since it was causing problems
4841 with KallistiOS Dreamcast library. Linux glibc could also be affected
4842 as it aborts scanning the mode parameter when it encounters an unknown
4843 char (consider "wt+"). Code was updated to take care of the possible
4844 extra \r before \n at end of fgets string. fputs() should be OK as
4845 the text mode is most probably the default mode.
4846
4847 2002-03-29 Vasyl Tsvirkunov <[email protected]>
4848 * Dirty update scheme is completed
4849
4850 2002-03-18 Piotr Fusik <[email protected]>
4851 * antic.c: NMIST bit 5 is external NMI (not reset) status in Antic,
4852 unused in Atari
4853 * input.c: second button in 5200 joystick generates "Break key" IRQ
4854 * monitor.c: "DLIST" now accepts address as an argument
4855
4856 2002-02-13 Petr Stehlik <[email protected]>
4857 * atari_sdl.c: fixed screen offset in 32bpp (thanks to Suzanne Archibald)
4858 * atari_sdl.c: fixed sound initialisation (thanks to Tomas Mraz)
4859 * pokey.c: fixed sound channel 1 in stereo mode (thanks to Radek Sterba)
4860
4861 2002-02-04 Piotr Fusik <[email protected]>
4862 * DOC/BUGS: updated list of games
4863
4864 2002-01-10 Jindrich Kubec <[email protected]>
4865 * new cartridge type added
4866 * last #include "zlib.h" found and fixed.
4867
4868 ** released as 1.2.2
4869
4870 2001-12-31 Petr Stehlik <[email protected]>
4871 * renamed cpu_m68k.s to cpu_m68k.asm because it's not in gas format
4872 * renamed *.s files in falcon/ to *.asm (same as above)
4873 * updated Makefile.in to run xgen on *.asm files only
4874
4875 2001-12-29 Petr Stehlik <[email protected]>
4876 * joysticks (both real and keyboard) in SDL port fixed.
4877 * configure now allows to --enable-CPUASS for m68k assembler CPU core.
4878
4879 2001-12-24 Jakub Bogusz <[email protected]>
4880 * memory corruption in input.c (joystick checking) fixed.
4881
4882 2001-12-17 Petr Stehlik <[email protected]>
4883
4884 * configure.in changed so it doesn'ta ask any questions by default
4885 Use --enable-FEATURE or --disable-FEATURE.
4886 * configure.in updated for better Falcon support
4887
4888 2001-12-08 Krzysztof Nikiel <[email protected]>
4889
4890 * acconfig.h: unused symbol COMPILED_PALETTE removed
4891 * win32/atari1.ico: new windows icon (actually an old one but modified)
4892 * win32/atari.rc: new icon included
4893
4894 2001-12-07 Piotr Fusik <[email protected]>
4895
4896 * cpu.c: #include <stdlib.h> for exit()
4897 * rtime.c: #include <string.h> for strcmp()
4898
4899 2001-12-04 Jacek Poplawski <[email protected]>
4900
4901 * log.c, log.h: fixed undefined Aflushlog
4902 * atari_sdl.c: cleanups for readability
4903
4904 2001-12-04 Petr Stehlik <[email protected]>
4905
4906 * util/sethdr, util/act2html.c: added Nathan's sethdr perl script and Piotr's
4907 act2html C code
4908 * SDL port now calls Aflushlog() before it exits
4909 * fixed win32 compile and runtime problems (thanks to Nathan)
4910
4911 2001-12-03 Petr Stehlik <[email protected]>
4912
4913 * configure.in: updated to support the Atari Falcon port
4914 * Falcon port' proprietary -DDMASOUND changed to general -DSOUND
4915
4916 2001-11-27 Krzysztof Nikiel <[email protected]>
4917
4918 * colours.c: default palette changed to the real palette created by
4919 Zdenek Eisenhammer.
4920 * colours.c: code to adjust palette properties improved and moved
4921 to separate function Palette_Format.
4922
4923 2001-11-26 Piotr Fusik <[email protected]>
4924
4925 * colours.c: #include <string.h> for strcmp()
4926
4927 2001-11-22 Krzysztof Nikiel <[email protected]>
4928
4929 * DOC/INSTALL: added autoconf instructions
4930 * acconfig.h: added SVGALIB symbol
4931
4932 2001-11-18 Piotr Fusik <[email protected]>
4933
4934 * ui.c: fixed a bug: modification of string literals
4935
4936 2001-11-14 Vasyl Tsvirkunov <[email protected]>
4937
4938 * WinCE: Fixed a few keyboard issues
4939 * Linear filter applied to screen image in portrait mode (looks much better)
4940
4941 2001-11-09 Piotr Fusik <[email protected]>
4942
4943 * pbi.c, pbi.h, Makefile.in: removed pbi module (it did nothing useful and
4944 was out of date)
4945
4946 2001-11-04 Piotr Fusik <[email protected]>
4947
4948 * input.h, input.c: added Trak-Ball emulation ("Missile Command")
4949 and blocked opposite joystick directions (good for "Mario Bros.")
4950 * cartridge.h, cartridge.c, ui.c: right slot cartridge
4951
4952 2001-10-29 Piotr Fusik <[email protected]>
4953
4954 * monitor.c: "DLIST" didn't stopped on JVB if Display List had multiple of 15
4955 instructions
4956 * cpu.c, gtia.h: removed i386 asm tricks - gcc 2.95.3 does it better :-)
4957 * atari.h, gtia.c: changed implementation of WSYNC/VCOUNT timing
4958 (previously it assumed that the instruction accessing VCOUNT had 4 cycles)
4959 * antic.c: corrected timing of DLISTL/H ("Spelunker" works)
4960
4961 2001-10-26 Piotr Fusik <[email protected]>
4962
4963 * atari_vga.c, configure.in: moved atari_vga.c from src to src/dos
4964 * configure.bat, configure_dos.bat: renamed configure.bat to configure_dos.bat
4965 (in bash 2.04.7 "./configure" runs configure.bat instead of configure)
4966 * atari.c, memory-d.c: made 130 XE state files compatible with previous
4967 versions
4968 * ui.c: current system is selected by default in SelectSystem()
4969 * input.h, antic.c, input.c: light gun emulation,
4970 "-mouse gun" is same as "-mouse pen", except that the button is inverted
4971 * input.c: set default light pen/gun offsets to (42, 2) - good for light gun
4972 games; a bigger light pen/gun cursor
4973
4974 2001-10-16 Krzysztof Nikiel <[email protected]>
4975
4976 * ui_basic.c: better keyboard autorepeat rate
4977 * configure.in: added AC_EXEEXT; removed A800_MAIN; used $target variable
4978 * Makefile.in: improved dep target; added EXEEXT
4979 * autogen.sh: new script to create 'configure'
4980
4981 2001-10-12 Piotr Fusik <[email protected]>
4982
4983 * cartridge.h, cartridge.c, ui.c: added 8 KB and 4 KB cartridges for 5200
4984
4985 2001-10-11 Piotr Fusik <[email protected]>
4986
4987 * atari_curses.c, ui_basic.c, ui.c: removed CURSES-specific code from ui.c,
4988 added curses_screen for UI
4989
4990 2001-10-11 Krzysztof Nikiel <[email protected]>
4991
4992 * ui_basic: added atari_sync() call in keyboard loop--keyboard is sampled
4993 at reasonable rate
4994
4995 2001-10-10 Piotr Fusik <[email protected]>
4996
4997 * atari_x11.c, atari_curses.c: compilable now
4998 * configure.in, ui.c: corrected typos
4999
5000 2001-10-10 Krzysztof Nikiel <[email protected]>
5001
5002 * sound.c: improved output space calculation--can work much better
5003 with some drivers
5004
5005 2001-10-09 Piotr Fusik <[email protected]>
5006
5007 * ui.c: OSS 'M019' -> 'M091'
5008
5009 2001-10-08 Piotr Fusik <[email protected]>
5010
5011 * input.c: removed CVS keywords
5012 * ui.c: corrected stack bug (thanks Vasyl) and renamed some cartridge types
5013
5014 2001-10-07 Piotr Fusik <[email protected]>
5015
5016 * input.c: smoother mouse pointer movement in Amiga/ST/joy modes
5017 * atari_basic.c: removed Atari_POT (unused)
5018 * pokey.c: fixed SEROUT (Sparta DOS X runs)
5019
5020 2001-10-05 Piotr Fusik <[email protected]>
5021
5022 * atari.c, cartridge.h, cartridge.c, ui.c: added Bounty Bob Strikes Back
5023 cartridge for 800/XL/XE (thanks Jindroush)
5024 * atari.c: H: didn't worked until a patch was toggled
5025
5026 2001-10-03 Piotr Fusik <[email protected]>
5027
5028 * input.h, input.c: finished mouse code
5029 * pokey.c: added INPUT_Scanline() call (to emulate Amiga and ST mice)
5030 * rt-config.c: fixed default TV mode in RtConfigUpdate
5031 * cpu.c: killed some warnings, AtariEscape -> Atari800_RunEsc
5032 * atari.h, atari.c, devices.c, devices.h, memory-d.c, binload.c: rewritten
5033 escape codes handling
5034 * devices.c: corrected Device_isvalid (isalnum((char) 0x9b) == 1 !)
5035 * binload.c: killed a warning, used dGetWord/dPutWord
5036 * diskled.h, diskled.c, sio.c, atari.c, atari_vga.c, platform.h:
5037 SET_LED and Atari_Set_LED are no longer used, Update_LED -> LED_Frame
5038 * atari.h, atari.c: added screen_visible_* variables
5039 * input.c, atari_vga.c, platform.h: removed Atari_POT: special handling
5040 of 5200 joysticks is in input.c
5041 * Makefile.in: updated
5042
5043 2001-10-03 Krzysztof Nikiel <[email protected]>
5044
5045 * win32/atari_win32.c, atari_svgalib.c: keyboard interface updated
5046 * win32/main.c: added mouse input
5047
5048 2001-10-01 Piotr Fusik <[email protected]>
5049
5050 * dos/vga_asm.s: corrected a bug in make_darker and commented whole routine
5051 out (it was used in ALLEGRO version only).
5052 * ui.h, devices.c, cpu.c, atari.c: #include "ui.h" for CRASH_MENU externs
5053 * memory-d.h: added a few useful macros (dGetWord, etc.)
5054 * sio.c, cpu.c, memory-d.c, atari.c, antic.c: updated for new macros in
5055 memory-d.h
5056 * cartridge.h, cartridge.c, ui.c: added new cartridge type: Atrax 128 KB
5057 (thanks Jindroush)
5058 * antic.h, antic.c, ui.c: renamed artif_init to ANTIC_UpdateArtifacting
5059 * ui.c: CURSES code cleanup (spaces, memory[], goto)
5060
5061 2001-09-27 Piotr Fusik <[email protected]>
5062
5063 * pia.c, pia.h: Atari_PORT -> PORT_input
5064 * pokey.c, pokey.h: Atari_POT -> POT_input
5065 * input.h: added INPUT_Initialise and a few mouse variables
5066 * input.c: added INPUT_Initialise, PORT_input, POT_input
5067 * atari_basic.c: removed Atari_CONSOL and Atari_PEN (not used anymore)
5068 * cpu.c: fixed nasty bug with extern int wsync_halt
5069 - there's UBYTE wsync_halt in antic.c (oooooppss!)
5070 * cpu_m68k.s: fixed wsync_halt bug, bounty_bob1/2 -> CART_BountyBob1/2,
5071 SupertCart_GetByte/PutByte -> CART_GetByte/PutByte
5072 * input.h: mouse_speed, INPUT_CenterMousePointer, INPUT_DrawMousePointer
5073 * input.c: emulation of Paddles, Atari Touch Tablet, Koala Pad
5074 and Light Pen/Light Gun
5075 * atari.c: called INPUT_Initialise and INPUT_DrawMousePointer
5076 * atari_vga.c: updated mouse code
5077 * Makefile.in: updated
5078
5079 2001-09-26 Piotr Fusik <[email protected]>
5080
5081 * input.c, input.h: added mouse_mode, mouse_port, 5200 key codes
5082 * antic.h, antic.c, platform.h, atari_vga.c: light_pen_enabled, Atari_PEN ->
5083 mouse_mode==MOUSE_PEN, PENH_input, PENV_input (direct mouse support
5084 for light pen emulation)
5085
5086 2001-09-22 Piotr Fusik <[email protected]>
5087
5088 * input.h, input.c: added key_consol, joy_autofire, AKEY_SHFT etc.
5089 * input.c: fixed key_break and key_code
5090 * atari.h: declared nframes and deltatime, AKEY_SHFT etc. moved to input.h
5091 * gtia.c, platform.h, atari_vga.c: Atari_CONSOL -> key_consol,
5092 TRIG_auto -> joy_autofire
5093
5094 2001-09-21 Piotr Fusik <[email protected]>
5095
5096 * antic.c: optimized character modes
5097 * devices.c: removed unused variable
5098 * atari.h, atari.c: Atari800_Frame(): new function that groups emulation
5099 of one Atari frame. The functions for individual modules will be called
5100 ANTIC_Frame(), GTIA_Frame(), etc.
5101 * input.h, input.c: new module, for keyboard/joystick/mouse
5102 * pokey.h: declared SKSTAT (for input)
5103 * atari_vga.c, ui.c: included input.h
5104 * atari.h: joystick positions and Atari key codes moved to input.h
5105 * atari.c: part of keyboard handling moved to INPUT_Frame()
5106 * Makefile.in: updated for the input module
5107 * antic.h, antic.c, ataripcx.c, ui.c: ANTIC_RunDisplayList -> ANTIC_Frame
5108 * gtia.h, gtia.c: GTIA_Triggers -> GTIA_Frame
5109 * atari.h: removed draw_display, added Atari800_Initialise
5110 * atari.c: main() is now in platform-dependent code, should call
5111 Atari800_Initialise and Atari800_Frame
5112 * input.c, input.h, pokey.c, atari_vga.c: SHIFT_KEY -> key_shift (consistent
5113 naming convention)
5114 * pokey.c, atari_vga.c: removed KEYPRESSED (not needed, since INPUT_Frame()
5115 can check if key_code!=AKEY_NONE)
5116 * atari_basic.c, atari_vga.c: added main()
5117
5118 2001-09-20 Piotr Fusik <[email protected]>
5119
5120 * gtia.c: optimized players in new_pm_scanline
5121
5122 2001-09-19 Piotr Fusik <[email protected]>
5123
5124 * pokey.c: corrected RANDOM
5125
5126 2001-09-17 Piotr Fusik <[email protected]>
5127
5128 * antic.c: optimized: memcpy in ANTIC_Load
5129 * memory-d.c, memory-d.h, atari.c: Initialise_Atari... functions moved
5130 to atari.c (they don't need to be memory-d/-p specific, it should simplify
5131 finishing PAGED_MEM code)
5132 * atari.c, atari.h, atari_vga.c, cartridge.c, gtia.c, memory-d.c, pia.c,
5133 rt-config.c, rt-config.h, statesav.c, ui.c:
5134 machine, mach_xlxe, Ram256, os, default_system -> machine_type, ram_size
5135 (removed lots of confusing variables, now it's easier to add new machines
5136 - 16,192,1088,... KB of RAM)
5137 * cartridge.c: killed a warning
5138 * rt-config.c, rt-config.c, ui.c, memory-d.c, atari.c:
5139 enable_c000_ram -> ram_size = 52
5140 * memory-d.c: malloc/free atarixe_memory (don't waste 256 KB if not
5141 in XE mode)
5142 * atari.c: shortened state file of 130 XE
5143
5144 2001-09-16 Piotr Fusik <[email protected]>
5145
5146 * atari.c, rt-config.c, rt-config.h: removed default_tv_mode (not needed,
5147 since there's tv_mode)
5148
5149 2001-09-09 Piotr Fusik <[email protected]>
5150
5151 * pia.h: declared atari_basic and selftest_enabled
5152 * rt-config.h, rt-config.c, atari.c, ui.c: hold_option -> disable_basic
5153 * memory-d.h, memory-d.c, cartridge.c:o "-basic" and "-nobasic" work
5154 for Atari 800 (Atari BASIC is attached as a cartridge in Atari 800)
5155
5156 2001-09-08 Krzysztof Nikiel <[email protected]>
5157
5158 * compfile.c: unused definitions and inclusions removed
5159 * ui.c, rt-config.h, rt-config.c: used FILENAME_MAX instead of
5160 MAX_FILENAME_LEN
5161 * sio.c, sio.h: used FILENAME_MAX instead of FILENAME_LEN
5162
5163 2001-09-06 Piotr Fusik <[email protected]>
5164
5165 * atari.h: MENU_PATCHES -> MENU_SETTINGS
5166
5167 2001-09-04 Piotr Fusik <[email protected]>
5168
5169 * pokey.c: implemented SKRES and bit 5 of SKSTAT
5170 * cartridge.c: CART_Remove works in 5200 mode
5171 * ui.c: hold_option, enable_c000_ram and rtime_enabled available in menu
5172
5173 2001-09-03 Piotr Fusik <[email protected]>
5174
5175 * pokey.c: call SIO_GetByte() when triggering IRQ, not when reading SERIN
5176 ("Timeless Announcement" loads now)
5177 * sio.c: disk drive answers 'E' to an unknown command.
5178
5179 2001-08-29 Piotr Fusik <[email protected]>
5180
5181 * cassette.h, cassette.c: using FILENAME_MAX from stdio.h
5182
5183 2001-08-27 Piotr Fusik <[email protected]>
5184
5185 * pokey.c: RANDOM is 0xff if (SKCTLS&0x03)==0 (for stereo detection in
5186 "Sheol")
5187
5188 2001-08-27 Krzysztof Nikiel <[email protected]>
5189
5190 * acconfig.h, config.h.in: safer 'win32' definition
5191 * win32/main.c: used _endthread() call without parameter
5192
5193 2001-08-24 Piotr Fusik <[email protected]>
5194
5195 * pokey.h: declared stereo_enabled (for monitor.c)
5196 * pokey.c: initialize KBCODE to 0xff - for a stereo detection routine
5197
5198 2001-08-19 Krzysztof Nikiel <[email protected]>
5199
5200 * DOC/INSTALL: windows instructions
5201
5202 2001-08-16 Piotr Fusik <[email protected]>
5203
5204 * atari.c: selecting cartridge type didn't worked in 5200 mode
5205 * memory-d.c: deleted CART_Remove() in Initialise_Atari*, so auto-switching
5206 to 5200 mode when inserting a 5200 cartridge works
5207 * cartridge.c: fix for Bounty Bob 5200 cartridge (thanks Jindroush)
5208
5209 2001-08-06 Piotr Fusik <[email protected]>
5210
5211 * colours.c: -help bug fix
5212 * cassette.h, gtia.h, gtia.c, atari.c: hold_start support
5213 (emulator presses Start and Space to boot the tape)
5214 * cassette.c: CAS format support
5215 * Makefile.in: added cassette.[ch]
5216
5217 2001-08-03 Piotr Fusik <[email protected]>
5218
5219 * cassette.h, cassette.c: new module, for cassette recorder emulation
5220 * sio.h: declared SIO_ChkSum (for cassette.c)
5221 * atari.c, sio.c: cassette support
5222
5223 2001-07-25 Piotr Fusik <[email protected]>
5224
5225 * sio.h, compfile.c, atari.c, sio.c: added SIO_Exit(), code clean ups
5226 * sio.c: Format Disk rewritten. Now it can resize both ATR and XFD images.
5227 The ATR header is being updated. Double density formatting works.
5228
5229 2001-07-24 Piotr Fusik <[email protected]>
5230
5231 * antic.c: speeded up Vasyl's code
5232
5233 2001-07-23 Piotr Fusik <[email protected]>
5234
5235 * sio.c: corrected and added checks if drive number is in range 1-8
5236
5237 2001-07-21 Piotr Fusik <[email protected]>
5238
5239 * sio.c: made double density ATR images compatible with SIO2PC
5240
5241 2001-07-20 Piotr Fusik <[email protected]>
5242
5243 * monitor.c: "C 600 ABCD" does the same as "C 600 CD AB".
5244 "DLIST" - 1 KB boundary respected. "POKEY" command.
5245 "S" without parameters repeats last search.
5246 Corrected Petr's mistake in rev.1.4.
5247 * pia.c, pia.h: renamed atarixl_os to atari_os (this array may be used
5248 also for storing 800 and 5200 OSes)
5249 * rt-config.h, rt-config.c, atari.c, atari.h, memory-d.c, memory.d.h:
5250 removed enable_rom_patches, added: enable_h_patch, enable_p_patch and
5251 Atari800_UpdatePatches(). SIO, H: and P: patches are now independent
5252 and can be toggled at run-time (original OS is saved in atari_os).
5253 Removed SetSIOEsc() and RestoreSIO().
5254 * atari.h, ui.c: added "Atari OS patches" menu item
5255 * cpu.c, devices.c, atari.h: removed ESC_BREAK (it wasn't really an escape
5256 code, it was used for entering the monitor - the monitor can be called
5257 directly)
5258 * devices.c: replaced K_Device with Device_KHREAD, replaced E_Device with
5259 Device_EHOPEN, Device_EHREAD and Device_EHWRITE (now K: and E: handlers
5260 are implemented in the same way as H: and P:)
5261 * rtime.h, rtime.c: new module, created from R-Time 8 emulation routines in
5262 supercart
5263 * cartridge.h, cartridge.c: new module, for inserting cartridges (previously
5264 in memory-d) and bank-switching (previously in memory-d and supercart)
5265 * monitor.c: not displaying rom_inserted in "PIA" command (because the new
5266 cartridge types can be disabled by software)
5267 * atari.h: added declarations of mach_xlxe and Ram256,
5268 removed cartridge types and Insert/Remove functions for cartridges
5269 * rt-config.c: removed #define TRUE/FALSE and extern int Ram256 (it's in
5270 atari.h)
5271 * memory-d.h, memory-d.c: rewritten to support the new cartridge module
5272 * pia.c: Ram256 moved to atari.c (it's not related with PIA)
5273 * gtia.h: declared TRIG and TRIG_latch (accessed by memory-d)
5274 * pia.c, gtia.c: cartA0BF_enabled is used instead of rom_inserted
5275 * ui.h: declared SelectCartType(), removed mach_xlxe and Ram256
5276 (which are declared in atari.h)
5277 * atari.c: support for new rtime and cartridge modules
5278 * ui.c: inserting, removing and converting of new cartridge types
5279 * Makefile.in, common.mak: added cartridge and rtime, removed supercart
5280 * supercart.c, supercart.h: removed - routines moved to new modules cartridge
5281 and rtime
5282
5283 2001-07-19 Piotr Fusik <[email protected]>
5284
5285 * binload.c: 0x31 stored at 0x300 ("Studio Dream" loads now)
5286 * supercart.c: added "byte &= 0x0f" to prevent out of bounds accesses
5287 to regset[]
5288 * pokey.c: SKSTAT variable renamed to SKCTLS to avoid confusions
5289 (it's the write-only, not the read-only Pokey register)
5290 * devices.c: replaced "dGetByte(0x2e)" with "regX" in H: handler routines
5291 (fixes problems with Atari BASIC's GET/PUT/INPUT/PRINT)
5292 * cpu.c: on reset, the I flag is set (now reset works if stuck in interrupts)
5293 * pia.c: & 0x3f on read PACTL and PBCTL (bits 6 and 7 are read-only in real
5294 PIA)
5295 * antic.c: described cycle-exact Antic timing for a few modes
5296 (not implemented)
5297 * devices.c: added open mode 9 (append) for H: device
5298 * pokey.c: potentiometers emulation improved: POTGO and ALLPOT registers
5299 and bit 2 of SKCTLS implemented, "Tree Surgeon" no longer hangs
5300 * pokey.c, pokey.h, pokeysnd.c, pokeysnd.h: moved a few definitions from
5301 pokeysnd to pokey (the goal is not to duplicate the variables of same
5302 meaning in pokey and pokeysnd, e.g. AUDC/AUDF/AUDCTL)
5303 * pokey.c: blocked POTs, SERIN, SEROUT, KBCODE, IRQ, SKSTAT, SKCTLS
5304 in the second Pokey chip, second Pokey unaccesible until stereo_enabled set
5305 (helps some stereo detection routines)
5306 * pokey.c, pokey.h, pokeysnd.c: replaced bit17[] with poly9_lookup[] and
5307 poly17_lookup[]. bit17[] was initialized with rand(), while poly9/17_lookups
5308 use the original POKEY algorithms. Moreover, poly9/17_lookups are smaller,
5309 which saves ca. 100 KB of memory.
5310 * atari.h, pokey.h, antic.c, pokey.c: true RANDOM emulation (both 9- and
5311 17-bit poly) ! Not using rand() anymore. POKEY_Frame() and cpu_clock are
5312 needed for it. Try the "Bank Bang!" game.
5313 * antic.c, gtia.c: the background color can be changed inside a scanline.
5314 Currently implemented only for blank lines without PMG.
5315 Try the "Partyland" part of the "Bitter Reality" demo.
5316 The feature can be disabled by defining NO_CYCLE_EXACT.
5317 * pokey.c: STIMER fixed (speech in "Mirax Force" is better, but still
5318 not perfect)
5319 * cpu.c: slight optimization of ROL and ROR
5320 * cpu.c: Read-Modify-Write (RMW) instructions (ASL, INC, etc.) store
5321 the unmodified value of $D01A before they store the modified value.
5322 Now you can see the white dots made with INC $D01A.
5323 * ui.h: removed declaration of atarixl_os (why was it declared here?)