Skip to content

Commit

Permalink
Not fully implemented condacts shows a ErrCode8
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliapc committed Nov 13, 2019
1 parent f7cc808 commit 5f2eb3e
Show file tree
Hide file tree
Showing 7 changed files with 212 additions and 391 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This project is a **DAAD** interpreter created from scratch for **MSX2**/**MSX2+

You can see the classic interpreters [here](https://github.com/daad-adventure-writer/daad).

**MSX2DAAD** is also compatible with [Maluva DAAD extension](https://github.com/Utodev/MALUVA), that add new functionalities to the classic interpreters like:
**MSX2DAAD** is also compatible with [Maluva DAAD extension](https://github.com/Utodev/MALUVA) emulating his new functionalities to the classic interpreters like:

- Load bitmap images from disk.
- Load/Save your gameplay from/to disk.
Expand Down
15 changes: 8 additions & 7 deletions include/daad_platform_msx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
#ifdef LANG_ES
#define LANG ES
#endif
#define VERSION "MSX2DAAD v1.0#"STRINGIFY(LANG)"#"STRINGIFY(SCREEN)"_"STRINGIFY(FONTWIDTH)
#define VERSION "MSX2DAAD v1.1#"STRINGIFY(LANG)"#"STRINGIFY(SCREEN)"_"STRINGIFY(FONTWIDTH)

#if SCREEN==6 || SCREEN==7
#define SCREEN_WIDTH 512
Expand Down Expand Up @@ -140,10 +140,11 @@
// System calls
#define CALSLT 0x1C // Interslot call
// System variables
#define CLIKSW 0xf3db // (BYTE) SCREEN ,,n will write to this address (0:disables_keys_click 1:enables_keys_click)
#define FNKSTR 0xf87f // (10*16 bytes) Value of the function keys
#define HTIMI 0xfd9f // Hook VBLANK interrupt
#define MODE 0xfafc /*Flag for screen mode. (1B/R)
#define TPA_LIMIT 0x0006
#define CLIKSW 0xf3db // (BYTE) SCREEN ,,n will write to this address (0:disables_keys_click 1:enables_keys_click)
#define FNKSTR 0xf87f // (10*16 bytes) Value of the function keys
#define HTIMI 0xfd9f // Hook VBLANK interrupt
#define MODE 0xfafc /*Flag for screen mode. (1B/R)
bit 7: 1 = conversion to Katakana; 0 = conversion to Hiragana. (MSX2+~)
bit 6: 1 if Kanji ROM level 2. (MSX2+~)
bit 5: 0/1 to draw in RGB / YJK mode SCREEN 10 or 11. (MSX2+~)
Expand All @@ -155,8 +156,8 @@
10 for 128kB
11 for 192kB
bit 0: 1 if the conversion of Romaji to Kana is possible. (MSX2~)*/
#define NEWKEY 0xfbe5 // (11 bytes) with key matrix
#define JIFFY 0xfc9e // (WORD) Contains value of the software clock, each interrupt of the VDP
#define NEWKEY 0xfbe5 // (11 bytes) with key matrix
#define JIFFY 0xfc9e // (WORD) Contains value of the software clock, each interrupt of the VDP
// it is increased by 1 (50/60Hz)


Expand Down
1 change: 1 addition & 0 deletions include/vdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ void setPalette(char *paletteAddress);
void setColorPal(uint8_t colIndex, uint16_t grb); // grb bitfield: 00000GGG.0RRR0BBB

void setColor(char forecolor, char background, char border);
void setBorder(char border);

void clearSC5();
void clearSC5lines(uint16_t startline, uint16_t numLines);
Expand Down
4 changes: 3 additions & 1 deletion src/daad.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
*/
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "daad.h"
#if defined(DEBUG) || defined(VERBOSE) || defined(VERBOSE2)
#include <stdio.h>
#endif


// External
Expand Down
Loading

0 comments on commit 5f2eb3e

Please sign in to comment.