Previous 15994 Revisions Next

r9935 Wednesday 5th January, 2011 at 21:12:59 UTC by Miodrag Milanović
Moved LCD layout definition to emu section and fixed tools compile.
[src/emu]clifront.c emu.h emu.mak rendlay.c rendlay.h video.h
[src/emu/layout]lcd.lay* lcd_rot.lay*
[src/mess]mess.c mess.h mess.mak
[src/mess/drivers]bw2.c cfx9850.c clcd.c cybiko.c gamecom.c gamepock.c gba.c gizmondo.c gmaster.c gp32.c hp49gp.c micronic.c nc.c ngp.c palm.c pb1000.c pc4.c pokemini.c polgar.c portfoli.c prestige.c psion.c ti89.c x07.c
[src/mess/layout]lcd.lay lcd_rot.lay
[src/mess/tools/castool]castool.mak main.c
[src/mess/tools/imgtool]imgtool.mak
[src/mess/video]kyocera.c

src/emu/video.h
r9934r9935
5555const int FRAMESKIP_LEVELS = 12;
5656const int MAX_FRAMESKIP = FRAMESKIP_LEVELS - 2;
5757
58#define LCD_FRAMES_PER_SECOND   30
5859
59
6060//**************************************************************************
6161//  TYPE DEFINITIONS
6262//**************************************************************************
src/emu/emu.h
r9934r9935
111111#include "image.h"
112112
113113// the running machine
114#ifdef MESS
115#include "mess.h"
116#endif /* MESS */
117114#include "machine.h"
118115#include "mame.h"
119116
src/emu/rendlay.c
r9934r9935
113113#include "voffff20.lh"
114114#include "hoffff20.lh"
115115
116// LCD screen layouts
117#include "lcd.lh"
118#include "lcd_rot.lh"
116119
117120
118121//**************************************************************************
src/emu/rendlay.h
r9934r9935
318318extern const char layout_hoffff20[];   // horizontal 4:3 with FF,FF,20 color overlay
319319extern const char layout_voffff20[];   // vertical 4:3 with FF,FF,20 color overlay
320320
321// LCD screen layouts
322extern const char layout_lcd[];         // generic 1:1 lcd screen layout
323extern const char layout_lcd_rot[];      // same, for use with ROT90 or ROT270
321324
322325#endif   // __RENDLAY_H__
src/emu/layout/lcd.lay
r0r9935
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <view name="LCD with square pixels">
4      <screen index="0">
5         <bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" />
6      </screen>
7   </view>
8</mamelayout>
src/emu/layout/lcd_rot.lay
r0r9935
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <view name="LCD with square pixels">
4      <screen index="0">
5         <bounds left="0" top="0" right="~scr0height~" bottom="~scr0width~" />
6      </screen>
7   </view>
8</mamelayout>
src/emu/clifront.c
r9934r9935
2323
2424#include <new>
2525#include <ctype.h>
26#ifdef MESS
27#include "mess.h"
28#endif
2629
2730
28
29
3031/***************************************************************************
3132    TYPE DEFINITIONS
3233***************************************************************************/
src/emu/emu.mak
r9934r9935
312312                  $(EMULAYOUT)/hoffe457.lh \
313313                  $(EMULAYOUT)/hoffff20.lh \
314314                  $(EMULAYOUT)/voffff20.lh \
315                  $(EMULAYOUT)/lcd.lh \
316                  $(EMULAYOUT)/lcd_rot.lh \
315317
316318$(EMUOBJ)/video.o:      $(EMULAYOUT)/snap.lh
src/mess/mess.c
r9934r9935
77***************************************************************************/
88
99#include "emu.h"
10#include "emuopts.h"
1110
12#include "lcd.lh"
13#include "lcd_rot.lh"
14
15#include "machine/ram.h"
16
1711/* Globals */
1812const char mess_disclaimer[] =
1913      "MESS is an emulator: it reproduces, more or less faithfully, the behaviour of\n"
src/mess/mess.h
r9934r9935
1010#define __MESS_H__
1111
1212/***************************************************************************
13    CONSTANTS
14***************************************************************************/
15#define LCD_FRAMES_PER_SECOND   30
16
17
18/***************************************************************************
1913    GLOBALS
2014***************************************************************************/
2115
22extern const char layout_lcd[];   /* generic 1:1 lcd screen layout */
23extern const char layout_lcd_rot[];   /* same, for use with ROT90 or ROT270 */
24
2516extern const char mess_disclaimer[];
2617
2718/***************************************************************************
src/mess/tools/castool/main.c
r9934r9935
3030#include "formats/fmsx_cas.h"
3131#include "formats/gtp_cas.h"
3232#include "formats/hect_tap.h"
33#include "formats/jupi_tap.h"
33#include "formats/ace_tap.h"
3434#include "formats/kim1_cas.h"
3535#include "formats/lviv_lvt.h"
3636#include "formats/mz_cas.h"
r9934r9935
6666   {"fmxs", fmsx_cassette_formats             ,"MSX"},
6767   {"gtp", gtp_cassette_formats               ,"Galaksija"},
6868   {"hector", hector_cassette_formats         ,"Hector - k7 : classical, FOR : forth cassette "},
69   {"jupiter", jupiter_cassette_formats       ,"Jupiter"},
69   {"jupiter", ace_cassette_formats           ,"Jupiter"},
7070   {"kim1", kim1_cassette_formats             ,"KIM-1"},
7171   {"lviv", lviv_lvt_format                   ,"Lviv"},
7272   {"mz", mz700_cassette_formats              ,"Sharp MZ"},
src/mess/tools/castool/castool.mak
r9934r9935
4343   $(MESS_FORMATS)/csw_cas.o           \
4444   $(MESS_FORMATS)/fmsx_cas.o          \
4545   $(MESS_FORMATS)/gtp_cas.o           \
46   $(MESS_FORMATS)/jupi_tap.o          \
46   $(MESS_FORMATS)/ace_tap.o          \
4747   $(MESS_FORMATS)/hect_tap.o          \
4848   $(MESS_FORMATS)/kim1_cas.o          \
4949   $(MESS_FORMATS)/lviv_lvt.o          \
r9934r9935
6161   $(MESS_FORMATS)/vg5k_cas.o          \
6262   $(MESS_FORMATS)/vt_cas.o            \
6363   $(MESS_FORMATS)/zx81_p.o          \
64   $(MESS_FORMATS)/cassimg.o         \
65   $(MESS_FORMATS)/wavfile.o         \
64   $(EMUOBJ)/imagedev/cassimg.o         \
65   $(EMUOBJ)/imagedev/wavfile.o         \
6666
6767
6868$(LIBCASTOOL): $(CASTOOL_LIB_OBJS)
src/mess/tools/imgtool/imgtool.mak
r9934r9935
3737   $(EMUOBJ)/emuopts.o             \
3838   $(EMUOBJ)/memory.o            \
3939   $(EMUOBJ)/ioprocs.o         \
40   $(MESS_FORMATS)/flopimg.o         \
41   $(MESS_FORMATS)/cassimg.o         \
40   $(EMUOBJ)/imagedev/flopimg.o         \
41   $(EMUOBJ)/imagedev/cassimg.o         \
4242   $(MESS_FORMATS)/basicdsk.o         \
4343   $(MESS_FORMATS)/coco_dsk.o         \
4444   $(MESS_FORMATS)/coco_cas.o         \
r9934r9935
5050   $(MESS_FORMATS)/pc_dsk.o         \
5151   $(MESS_FORMATS)/ap2_dsk.o         \
5252   $(MESS_FORMATS)/ap_dsk35.o         \
53   $(MESS_FORMATS)/wavfile.o         \
53   $(EMUOBJ)/imagedev/wavfile.o         \
5454   $(MESS_FORMATS)/vt_dsk.o         \
5555   $(MESS_FORMATS)/fdi_dsk.o         \
5656   $(IMGTOOLOBJ)/stream.o            \
src/mess/video/kyocera.c
r9934r9935
44#include "includes/kyocera.h"
55#include "video/hd44102.h"
66#include "video/hd61830.h"
7#include "rendlay.h"
78
89static PALETTE_INIT( kc85 )
910{
src/mess/layout/lcd_rot.lay
r9934r9935
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <view name="LCD with square pixels">
4      <screen index="0">
5         <bounds left="0" top="0" right="~scr0height~" bottom="~scr0width~" />
6      </screen>
7   </view>
8</mamelayout>
src/mess/layout/lcd.lay
r9934r9935
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <view name="LCD with square pixels">
4      <screen index="0">
5         <bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" />
6      </screen>
7   </view>
8</mamelayout>
src/mess/mess.mak
r9934r9935
18091809# layout dependencies
18101810#-------------------------------------------------
18111811
1812$(MESSOBJ)/mess.o:      $(MESS_LAYOUT)/lcd.lh
1813$(MESSOBJ)/mess.o:      $(MESS_LAYOUT)/lcd_rot.lh
1814
18151812$(MESS_DRIVERS)/4004clk.o:   $(MESS_LAYOUT)/4004clk.lh
18161813$(MESS_DRIVERS)/acrnsys1.o:   $(MESS_LAYOUT)/acrnsys1.lh
18171814$(MESS_DRIVERS)/aim65.o:   $(MESS_LAYOUT)/aim65.lh
src/mess/drivers/pb1000.c
r9934r9935
1818#include "imagedev/cartslot.h"
1919#include "machine/nvram.h"
2020#include "sound/beep.h"
21#include "rendlay.h"
2122
2223class pb1000_state : public driver_device
2324{
src/mess/drivers/cfx9850.c
r9934r9935
66
77#include "emu.h"
88#include "cpu/hcd62121/hcd62121.h"
9#include "rendlay.h"
910
10
1111class cfx9850_state : public driver_device
1212{
1313public:
src/mess/drivers/pokemini.c
r9934r9935
1313#include "includes/pokemini.h"
1414#include "cpu/minx/minx.h"
1515#include "imagedev/cartslot.h"
16#include "rendlay.h"
1617
17
1818static ADDRESS_MAP_START( pokemini_mem_map, ADDRESS_SPACE_PROGRAM, 8 )
1919   AM_RANGE( 0x000000, 0x000FFF )  AM_ROM                     /* bios */
2020   AM_RANGE( 0x001000, 0x001FFF )   AM_RAM AM_BASE_MEMBER(pokemini_state, ram)            /* VRAM/RAM */
src/mess/drivers/palm.c
r9934r9935
1515#include "sound/dac.h"
1616#include "debugger.h"
1717#include "machine/ram.h"
18#include "rendlay.h"
1819
19
2020class palm_state : public driver_device
2121{
2222public:
src/mess/drivers/gamecom.c
r9934r9935
1919#include "includes/gamecom.h"
2020#include "cpu/sm8500/sm8500.h"
2121#include "imagedev/cartslot.h"
22#include "rendlay.h"
2223
23
2424static ADDRESS_MAP_START(gamecom_mem_map, ADDRESS_SPACE_PROGRAM, 8)
2525   AM_RANGE( 0x0000, 0x0013 )  AM_RAM
2626   AM_RANGE( 0x0014, 0x0017 )  AM_READWRITE( gamecom_pio_r, gamecom_pio_w )        // buttons
src/mess/drivers/gmaster.c
r9934r9935
55#include "emu.h"
66#include "cpu/upd7810/upd7810.h"
77#include "imagedev/cartslot.h"
8
8#include "rendlay.h"
99#include "includes/gmaster.h"
1010
1111
src/mess/drivers/gizmondo.c
r9934r9935
3232#include "machine/docg3.h"
3333#include "machine/s3c2440.h"
3434#include "video/gf4500.h"
35#include "rendlay.h"
3536
3637#define VERBOSE_LEVEL ( 0 )
3738
src/mess/drivers/x07.c
r9934r9935
2929#include "sound/beep.h"
3030#include "includes/x07.h"
3131#include "imagedev/printer.h"
32#include "rendlay.h"
3233
3334static void t6834_cmd (running_machine *machine, UINT8 cmd);
3435static void receive_from_t6834 (running_machine *machine);
src/mess/drivers/gamepock.c
r9934r9935
44#include "sound/speaker.h"
55#include "imagedev/cartslot.h"
66#include "includes/gamepock.h"
7#include "rendlay.h"
78
8
99static ADDRESS_MAP_START(gamepock_mem, ADDRESS_SPACE_PROGRAM, 8)
1010   ADDRESS_MAP_UNMAP_HIGH
1111   AM_RANGE(0x0000,0x0fff) AM_ROM
src/mess/drivers/hp49gp.c
r9934r9935
77#include "emu.h"
88#include "cpu/arm7/arm7.h"
99#include "machine/s3c2410.h"
10#include "rendlay.h"
1011
1112#define VERBOSE_LEVEL ( 0 )
1213
src/mess/drivers/nc.c
r9934r9935
108108#include "imagedev/cartslot.h"
109109#include "sound/beep.h"
110110#include "machine/ram.h"
111#include "rendlay.h"
111112
112
113113#define VERBOSE 0
114114#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
115115
src/mess/drivers/prestige.c
r9934r9935
7878#include "cpu/z80/z80.h"
7979#include "machine/ram.h"
8080#include "imagedev/cartslot.h"
81#include "rendlay.h"
8182
8283
8384class prestige_state : public driver_device
src/mess/drivers/ngp.c
r9934r9935
101101#include "sound/t6w28.h"
102102#include "sound/dac.h"
103103#include "video/k1ge.h"
104#include "rendlay.h"
104105
105
106106enum flash_state
107107{
108108   F_READ,                  /* xxxx F0 or 5555 AA 2AAA 55 5555 F0 */
src/mess/drivers/pc4.c
r9934r9935
99
1010#include "emu.h"
1111#include "cpu/z80/z80.h"
12#include "rendlay.h"
1213
1314class pc4_state : public driver_device
1415{
src/mess/drivers/bw2.c
r9934r9935
4242#include "machine/pit8253.h"
4343#include "video/msm6255.h"
4444#include "includes/bw2.h"
45#include "rendlay.h"
4546
4647int bw2_state::get_ramdisk_size()
4748{
src/mess/drivers/portfoli.c
r9934r9935
8989#include "machine/nvram.h"
9090#include "sound/speaker.h"
9191#include "video/hd61830.h"
92#include "rendlay.h"
9293
9394//**************************************************************************
9495//   MACROS / CONSTANTS
src/mess/drivers/gp32.c
r9934r9935
2222#include "includes/gp32.h"
2323#include "sound/dac.h"
2424#include "video/generic.h"
25#include "rendlay.h"
2526
2627#define VERBOSE_LEVEL ( 0 )
2728
src/mess/drivers/cybiko.c
r9934r9935
2222#include "machine/at45dbxx.h"
2323#include "machine/sst39vfx.h"
2424#include "machine/ram.h"
25#include "rendlay.h"
2526
2627/* Until support for the H8Sxxxx variants used by cybiko is added, we use H8_3002 (even if opcodes differ) */
2728#define H8S2241   H83002
src/mess/drivers/ti89.c
r9934r9935
2222#include "includes/ti89.h"
2323#include "machine/nvram.h"
2424#include "machine/intelfsh.h"
25#include "rendlay.h"
2526
26
2727UINT8 ti68k_state::keypad_r (running_machine *machine)
2828{
2929   UINT8 port, bit, data = 0xff;
src/mess/drivers/micronic.c
r9934r9935
121121#include "machine/mc146818.h"
122122#include "machine/ram.h"
123123#include "sound/beep.h"
124#include "rendlay.h"
124125
125126static UINT8 keypad_r (running_machine *machine)
126127{
src/mess/drivers/clcd.c
r9934r9935
88
99#include "emu.h"
1010#include "cpu/m6502/m6502.h"
11#include "rendlay.h"
1112
12
1313class clcd_state : public driver_device
1414{
1515public:
src/mess/drivers/polgar.c
r9934r9935
4242// #include "rendlay.h"
4343// #include "uiinput.h"
4444#include "machine/mboard.h"
45#include "rendlay.h"
4546
4647//static UINT8 lcd_shift_counter;
4748static UINT8 led_status;
src/mess/drivers/psion.c
r9934r9935
2626#include "imagedev/cartslot.h"
2727#include "video/hd44780.h"
2828#include "includes/psion.h"
29#include "rendlay.h"
2930
3031/***********************************************
3132
src/mess/drivers/gba.c
r9934r9935
2424#include "machine/intelfsh.h"
2525#include "audio/gb.h"
2626#include "includes/gba.h"
27#include "rendlay.h"
2728
2829#define VERBOSE_LEVEL   (0)
2930

Previous 15994 Revisions Next


© 1998-2018 The MESS Team