Commit graph

89 commits

Author SHA1 Message Date
Dave Chapman
d64e626387 Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 13:48:09 +00:00
Jens Arnold
0e4bc2b395 Made sansa and iFP simulator bitmaps binary and restored working versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11972 a1c6a512-1295-4272-9138-f99709370657
2007-01-10 07:54:52 +00:00
Linus Nielsen Feltzing
e2022a26d0 Removed executable flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Dan Everton
5efed097fd Implement pcm_set_frequency in the sim. Update Doom plugin to have sound in the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11916 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 10:30:18 +00:00
Dave Chapman
ec529a1556 Add a dummy pcm_set_frequency() function for the sim. Can someone who knows SDL implement it?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11880 a1c6a512-1295-4272-9138-f99709370657
2007-01-01 14:01:08 +00:00
Michael Sevakis
4b902679cc Convert queues to use intptr_t for event data and return values as most of the time pointer are not passed and it should make some things a bit cleaner.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 16:50:07 +00:00
Michael Sevakis
43c15921e4 Add queue_send synchronous message sending. Right now only for SWCODEC. Actual usage to be added to playback and recording shortly in upcoming commits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11776 a1c6a512-1295-4272-9138-f99709370657
2006-12-16 18:35:12 +00:00
Jens Arnold
780f79e7a4 Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Michael Sevakis
4aa01ed5f0 Fixed the errors on the sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11454 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:36:10 +00:00
Michael Sevakis
0f5cb94aa4 Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Steve Bavin
46925b32a7 Oops, sim was missing a queue function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11421 a1c6a512-1295-4272-9138-f99709370657
2006-11-03 10:12:15 +00:00
Jens Arnold
a796260a6b Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Barry Wardell
24f4a2a8cf Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 13:38:09 +00:00
Jens Arnold
d1ce4e779e Consistent style of 'make' messages. Always use ranlib after ar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Jens Arnold
43528c770e Make the SDL simulator a console app on cygwin, and circumvent SDL_main. Debug output finally appears on the console again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11309 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 12:41:13 +00:00
Barry Wardell
5db8081822 Fix build errors in H100 and H300 UI simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11306 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 23:22:34 +00:00
Barry Wardell
d5e628f4ed Simplify the numeric keypad -> device button mapping in the UI simulator for all targets. Split the mapping by target keypad type, rather that by what button a target has. Also, add a mapping for the Sansa e200 series.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11304 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 22:34:09 +00:00
Jens Arnold
edc19fb56a Added necessary bits & pieces for building an ipod 3rd gen simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11239 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 18:15:36 +00:00
Miika Pekkarinen
a85044bf9e New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Daniel Ankers
8300d8c194 Oops - fix warnings and add a simulator version of remove_thread_on_core()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10876 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 21:00:19 +00:00
Daniel Ankers
9bb3128235 Fix simulation of threads across multiple cores
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10875 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 20:21:21 +00:00
Barry Wardell
99c2dc5284 Add new build target for iriver H10 5/6Gb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10661 a1c6a512-1295-4272-9138-f99709370657
2006-08-19 19:21:17 +00:00
Tomasz Malesinski
a19032c550 Iriver iFP7xx support in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10650 a1c6a512-1295-4272-9138-f99709370657
2006-08-18 19:14:11 +00:00
Hristo Kovachev
1792170633 Add remote_type() to the uisim for h100/h300 builds. Use the "t" key to switch between remote types (only changes the remote_type()'s return value for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10577 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 08:33:38 +00:00
Hristo Kovachev
9dc0e62229 Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 08:35:27 +00:00
Daniel Stenberg
e43b29dde2 iriver H10 fixes by Barry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10450 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:25:39 +00:00
Miika Pekkarinen
8a7b9161ab Adjust the counter even higher so it should work quite stable now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10385 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 15:13:31 +00:00
Miika Pekkarinen
957bf22879 Prevent simulator SDL audio skipping under OS X (FS#5748 by Emanuel
Zephir).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10384 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 15:11:03 +00:00
Miika Pekkarinen
4222f6ce0d Prevent the simulator SDL audio skipping under Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10383 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 15:02:39 +00:00
Jens Arnold
05ddd9a44e X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Linus Nielsen Feltzing
c849219370 Moved the X5 button driver to the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Antoine Cellerier
ebfb4f3ab2 Bind F8 key to "on" button (usefull if you don't have a numpad)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10287 a1c6a512-1295-4272-9138-f99709370657
2006-07-22 23:10:51 +00:00
Peter D'Hoye
5aa017b040 Simulator: map ESC key to POWER button as a way to exit plugins. Patch #5681 by Rani Hod (RaeNye).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10244 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 00:39:30 +00:00
Jens Arnold
ae0c1af6ce Adjustments for simulating a backlight-modded Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10038 a1c6a512-1295-4272-9138-f99709370657
2006-06-03 12:09:12 +00:00
Jens Arnold
25f386017c Fix red playersim build on linux, and make it a bit less hackish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9978 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 10:00:11 +00:00
Jens Arnold
8325e0bf24 Implemented screendump for the player sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9977 a1c6a512-1295-4272-9138-f99709370657
2006-05-23 07:48:43 +00:00
Brandon Low
9cde77060a Patch 5107 from Steve Bavin, enable locking on sdl sim, now mutexes actually MUT EX on the SDL sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9638 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 15:38:56 +00:00
Jens Arnold
4c544b4e07 Fix greyscale iPod sims for new LCD format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9480 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 01:40:11 +00:00
Jens Arnold
80865f2440 UI pictures for iPod mini 1G and 2G simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9435 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 19:07:27 +00:00
Dan Everton
d0c65f76b2 Use correct sleep function in simulator queue wait.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9343 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 12:11:28 +00:00
Hristo Kovachev
a70c6b9b1e Patch #4913 by David Rothenberger with some changes by me: add only backlight on first keypress to the lcd remotes, too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 19:16:45 +00:00
Björn Stenberg
da5fb18bca New option: First keypress enables backlight only. Patch #2920 by Nicolas Pennequin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:47:24 +00:00
Thom Johansen
738a584a5c Use correct types, which kills some AMD64 sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9191 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 16:04:01 +00:00
Daniel Stenberg
4582f233ce code policed // comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9112 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 06:59:36 +00:00
Dan Everton
5b3e3e1f2a Fix some incorrectly declared functions in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9080 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 22:09:34 +00:00
Jens Arnold
4bd8715449 Don't crash the simulator when the pcm callback runs out of data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8998 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 10:22:20 +00:00
Marcoen Hirschberg
4e96f7df9f make the enter key work again in the windows SDL sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8976 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 13:55:10 +00:00
Jens Arnold
b4ada860b3 Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 23:56:44 +00:00
Jens Arnold
4b9fbd1687 Fix yellow H1x0 simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8846 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 13:58:06 +00:00
Jens Arnold
6a972e0249 Finally - grayscale library support for the simulators. Currently SDL only, win32 and x11 won't link anymore due to missing simulator functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 13:37:42 +00:00