Commit graph

123 commits

Author SHA1 Message Date
Marcoen Hirschberg
d24ed9987b 'no voice' is -1 not 0 and menu_items does have a pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 12:48:36 +00:00
Marcoen Hirschberg
ed70da26bd don't assign NULL to a long (fixes sim build warnings)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 11:35:26 +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
Karl Kurbjun
0b4c6671db Fix the scaling not being initialized properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10139 a1c6a512-1295-4272-9138-f99709370657
2006-06-19 02:44:50 +00:00
Karl Kurbjun
b0ca08b33c Fix errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10138 a1c6a512-1295-4272-9138-f99709370657
2006-06-19 01:57:44 +00:00
Karl Kurbjun
6952f03a7d Update for Rockboy: - fix scaling for other color screens than H300 - full menu rewrite to display choices properly - some small tweaks to code - some formatting updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10137 a1c6a512-1295-4272-9138-f99709370657
2006-06-19 01:47:45 +00:00
Christian Gmeiner
a91b794cb2 use #ifdef x instead of #if defined(x)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9581 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 15:00:30 +00:00
Christian Gmeiner
eb7d4f88ea HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9580 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 14:50:43 +00:00
Linus Nielsen Feltzing
e514901665 MCF5249 isn't the only Coldfire CPU
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9355 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 10:13:39 +00:00
Zakk Roberts
354941d966 Make fullscreen off by default for Rockboy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9220 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 23:49:22 +00:00
Marcoen Hirschberg
8d0a32eb4b gigabeat related changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8885 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 13:28:24 +00:00
Dave Chapman
4b5b8b5965 Correctly byte-swap the pixel values for the iPod 4G Color and Nano - this fixes the colours for those players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8860 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 19:14:49 +00:00
Marcoen Hirschberg
f16c1f341a prevent rockbox from using the wrong includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 13:48:52 +00:00
Brandon Low
413da2a3d9 Rework PCM buffer
* Linked list instead of static array buffer pointers
* Variable sized chunks
* Improved mix handling
* Reduction in duplicated code
* Reduced IRAM usage w/o sacrificing performance
* Converted to almost entirely unsigned math
* Add pause function to reduce pcm_* exposure to playback.

This WILL break playback on the iPod until linuxstb makes a followup commit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:38:55 +00:00
Dave Chapman
e8f8d9e7e9 Initial support for iPod color and video. The Nano has a 176x132 LCD, which is the first colour LCD smaller than the gameboy's 160x144 display - so it needs work to skip scanlines. Button handling still needs more work - only up/down/left/right/start are currently mapped. Code is removed from IRAM due to 'relocation truncated to fit: R_ARM_PC24' errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8400 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 20:59:07 +00:00
Daniel Stenberg
1cda8bc433 simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8398 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 13:59:40 +00:00
Daniel Stenberg
137fb6cb9f Karl Kurbjun's patch #1407719:
Here's another patch for rockboy that adds automatic frameskip (it's pretty
rough as I haven't figured out an accurate timer), fullscreen support on the
H300, and a bit of assembly and some IRAM stuff. I'm not sure if I'm doing the
IRAM stuff correct though as it doesn't seem to make much of a difference if
any. I've also added a statistics option that will show how many frames per
second the gameboy is seeing (not what the player is getting) and what the
frameskip is at. When you enable stats sometimes you have to go back into the
menu and then come out to clear erronous values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8397 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 13:05:52 +00:00
Jens Arnold
22ffc9bf03 The .entry section does no longer exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8363 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 00:17:50 +00:00
Jens Arnold
ffb0cdc426 Archos recorders: The Rockboy overlay loader now uses the same header as the plugin loader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8354 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 18:51:12 +00:00
Jens Arnold
a36b1d4083 New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2006-01-15 18:20:18 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Linus Nielsen Feltzing
cf218e33ec Patch #1401999 by Karl Kurbjun - Rockboy color, sound support, and speedups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8324 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 21:55:56 +00:00
Daniel Stenberg
0e419987e4 SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 11:22:36 +00:00
Jens Arnold
a991de3730 Don't include the .bss section in the archos rockboy overlay as well. Explicitly add common symbols to .bss section for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8309 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 23:45:29 +00:00
Jens Arnold
07c4254135 Don't include the .bss and .ibss sections in the binary image for codecs and plugins. Saves quite some disk space (and buffer space in case of codec changes during playback).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8308 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 22:50:14 +00:00
Daniel Stenberg
72f423570f numerous gcc4 (un)signed warnings killed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8121 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:08:54 +00:00
Jens Arnold
59825952f3 Rockboy: adapted to colour LCD (but no colours for gameboy color games yet). Some cleanup; killed a ton of TABs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7915 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 22:59:28 +00:00
Linus Nielsen Feltzing
dc9e201671 Support for a colon-separated path in APPEXTRA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Magnus Holmgren
58384f03fb iRiver: Make it possible to build Rockbox using GCC 4.0.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7569 a1c6a512-1295-4272-9138-f99709370657
2005-09-28 17:36:42 +00:00
Jens Arnold
4a2feaa30d Rockboy: Asm optimised updatepatpix() for coldfire. The vertical-mirroring pattern copy profits from burst mode (line aligned movem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7509 a1c6a512-1295-4272-9138-f99709370657
2005-09-11 21:44:48 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
d2456b44f7 Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack and rockboy headers to avoid clashes with rockbox headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 14:05:12 +00:00
Jens Arnold
cc377d5d18 Made it working again...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6929 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 18:54:56 +00:00
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Daniel Stenberg
2e88a90c0b Request the audio buffer _before_ using any iram. By doing it in this order,
the music has stopped when we use the plugin iram area - which is shared with
the codecs!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6904 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 21:19:40 +00:00
Daniel Stenberg
a24017f4da Moved the codec and plugin buffer sizes to the config-*.h files instead of
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Michiel Van Der Kolk
127f14210f sound disabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6589 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 19:36:54 +00:00
Jens Arnold
d8237fd65f Same 'DLL' messages as the new plugin Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6425 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 23:40:45 +00:00
Daniel Stenberg
b8a23f9e49 Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Linus Nielsen Feltzing
d34865a530 mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Michiel Van Der Kolk
f33ca63396 ladida... iriver sim fix till pcm playback is implemented there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6231 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:56:15 +00:00
Michiel Van Der Kolk
3210ada7bf This is completely obsolete :p
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6230 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:53:33 +00:00
Michiel Van Der Kolk
a87188e8d4 archos fix blah
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6227 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:27:49 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Michiel Van Der Kolk
b045f00d21 Alpha sound driver for rockboy, should work in theory, but in practice,
it doesn't. disabled by default with a define.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6218 a1c6a512-1295-4272-9138-f99709370657
2005-03-20 23:06:47 +00:00
Michiel Van Der Kolk
80a8ea19ca Source documentation of gnuboy (all there is anyways...)
Helps with understanding the code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6195 a1c6a512-1295-4272-9138-f99709370657
2005-03-17 13:41:05 +00:00
Jens Arnold
ae4b2de619 Removed unnecessary extra check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6183 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 20:06:35 +00:00
Jens Arnold
81b51ebe58 Made the IRAM usage depend on the CPU type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6182 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 20:02:41 +00:00
Jens Arnold
0300fca5b7 Baild out instead of crashing when called directly (without playing a ROM file).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6167 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 21:41:10 +00:00
Michiel Van Der Kolk
e5b4913d19 Minor bug when writing files; files weren't truncated to 0, so when
writing a file smaller than the previous one, it adds garbage to the end.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6147 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 22:50:41 +00:00
Michiel Van Der Kolk
72975faf05 Bugggggggggggssssssssss *chases with flyswatter and swats them*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6144 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 21:32:06 +00:00
Michiel Van Der Kolk
71eceb43d0 printing of the PC in assembly dumps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6143 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 19:52:31 +00:00
Michiel Van Der Kolk
12ab0ab36a Dynarec debug system added - creates various debugging files in the root.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6142 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 19:42:22 +00:00
Michiel Van Der Kolk
d1f948423e More opcodes implemented on dynarec, somewhat working, some bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6141 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 16:29:20 +00:00
Jens Arnold
b0f57cb88e Properly clean the rockboy dependency file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6138 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 00:05:57 +00:00
Jens Arnold
a9ee48ac54 LCD mode switching added for recorders (uses ON button).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6137 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 00:04:31 +00:00
Michiel Van Der Kolk
ebd63b52cd New lcd mode: drop every 9th line; set as default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6136 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 20:56:49 +00:00
Michiel Van Der Kolk
984cd6e568 New lcd mode; drop top 8 and bottom 8 lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6135 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 12:48:29 +00:00
Michiel Van Der Kolk
3e60b5a6d1 Lcd mode selecting between top 16 and bottom 16 lines being dropped by
using the hold button.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6133 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 12:31:08 +00:00
Michiel Van Der Kolk
ca2e99b4be Grayscale support for rockboy - can't work without markuns patch,
needs rockbox' internal framebuffer in 2 bit (4 pixels / byte) format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6132 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 11:01:33 +00:00
Michiel Van Der Kolk
254100adf4 load/savestate support added to the menu, contributed by pabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6129 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 09:30:27 +00:00
Michiel Van Der Kolk
0de0162ebe no menu for archos players till menu.c is adapted to work for them too...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6124 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 20:22:58 +00:00
Michiel Van Der Kolk
0dc6b128ca replaced BUTTON_SELECT with BUTTON_OFF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6123 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 20:10:49 +00:00
Michiel Van Der Kolk
e5f93069ea forgot an #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6122 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 20:06:08 +00:00
Michiel Van Der Kolk
31f215ea39 ack, forgot to add file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6121 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 20:02:39 +00:00
Michiel Van Der Kolk
cd040ddd7c First stages of rockboy menu - press A/B mode to enter, contributed by pabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6120 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 19:54:47 +00:00
Michiel Van Der Kolk
3921e1aa69 Added dynarec(under construction) and outline for lcd modes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6119 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 19:44:02 +00:00
Michiel Van Der Kolk
348f5673ac Mode button quits now instead of the center button - prevents accidental quits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6113 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 13:51:26 +00:00
Michiel Van Der Kolk
95819727eb Functions and data into iram mode for iriver, seems faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6112 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 13:50:09 +00:00
Michiel Van Der Kolk
0cecadd074 Automatic cpu boosting when emulating, when supported
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6111 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 13:11:45 +00:00
Jens Arnold
384de10246 Rockboy - gameboy emulation for rockbox, based on gnuboy. Still a bit early, but already playable on iRiver H1xx and the simulators. The archos recorder version is currently rather slow...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6104 a1c6a512-1295-4272-9138-f99709370657
2005-03-02 23:49:38 +00:00