Oeka Kids tablet: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (add category)
(Add Controllers category to Oeka Kids tablet.)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The Oeka Kids tablet is a Famicom accessory from Bandai that resembles a drawing tablet, and plugs into the expansion port. There are two known games that use this peripheral, both of which contain a variety of activities, such as painting, drawing lessons, hiragana lessons, and a variety of minigames such as mazes and sliding puzzles.
The Oeka Kids tablet is a Famicom accessory from Bandai that resembles a drawing tablet, and plugs into the expansion port. There are two known games that use this peripheral, using [[iNES Mapper 096]], both of which contain a variety of activities, such as painting, drawing lessons, hiragana lessons, and a variety of minigames such as mazes and sliding puzzles.


Very little information about this accessory is available, and only [http://forums.nesdev.org/viewtopic.php?p=19454#19454 basic reverse engineering] has been performed so far. As such, this information '''may be incorrect''', but it seems to be acceptable for the two commercial games that use it.
Very little information about this accessory is available, and only [http://forums.nesdev.org/viewtopic.php?p=19454#19454 basic reverse engineering] has been performed so far. As such, this information '''may be incorrect''', but it seems to be acceptable for the two commercial games that use it.
Line 9: Line 9:
  xxxx xxAS
  xxxx xxAS
         ||
         ||
         |+- Strobe (0 = Latch, 1 = Read back)
         |+- Strobe (0 = Latch, 1 = Read mode)
         +-- Advance to next bit
         +-- Advance to next bit


To advance to the next bit, set A to 0 and then to 1. Bits can only be read while S is set to 1.
Bits can be read only while S is 1. It advances to the next bit when S is 1 and A transitions from 0 to 1.  


=== Output ($4017 read) ===
=== Output ($4017 read) ===
Line 18: Line 18:
  7  bit  0
  7  bit  0
  ---- ----
  ---- ----
  xxxx xDSx
  xxxx DSxx
      ||
      ||
      |+-- 0 if strobe is 1, 1 otherwise.
      |+-- 0 if strobe is 1, 1 otherwise.
      +--- (Inverted) Serial data if strobe is 1, 0 if strobe is 0.
      +--- (Inverted) Serial data if strobe is 1, 0 if strobe is 0.


The serial data is returned ''most significant bit first'', and inverted.
The serial data is returned ''most significant bit first'', and inverted (including the touch and click bits).


  $4017.2
  $4017.2
Line 34: Line 34:
     ||||||||++++++++--- Stylus Y, scaled to 0-255
     ||||||||++++++++--- Stylus Y, scaled to 0-255
     ++++++++----------- Stylus X, scaled to 0-239
     ++++++++----------- Stylus X, scaled to 0-239
The fact that X and Y are scaled backwards is ''not'' an error - the games which use this mapper rescale the coordinates by multiplying X by 256/240 and multiplying Y by 240/256.


[[Category:Controllers]]
[[Category:Controllers]]
[[Category:Pointing devices]]

Latest revision as of 04:35, 6 March 2022

The Oeka Kids tablet is a Famicom accessory from Bandai that resembles a drawing tablet, and plugs into the expansion port. There are two known games that use this peripheral, using iNES Mapper 096, both of which contain a variety of activities, such as painting, drawing lessons, hiragana lessons, and a variety of minigames such as mazes and sliding puzzles.

Very little information about this accessory is available, and only basic reverse engineering has been performed so far. As such, this information may be incorrect, but it seems to be acceptable for the two commercial games that use it.

Input ($4016 write)

7  bit  0
---- ----
xxxx xxAS
       ||
       |+- Strobe (0 = Latch, 1 = Read mode)
       +-- Advance to next bit

Bits can be read only while S is 1. It advances to the next bit when S is 1 and A transitions from 0 to 1.

Output ($4017 read)

7  bit  0
---- ----
xxxx DSxx
     ||
     |+-- 0 if strobe is 1, 1 otherwise.
     +--- (Inverted) Serial data if strobe is 1, 0 if strobe is 0.

The serial data is returned most significant bit first, and inverted (including the touch and click bits).

$4017.2
   ^
   |  <-- <-- <-- <--
   XXXXXXXXYYYYYYYYBA
   ||||||||||||||||||
   |||||||||||||||||+- Click
   ||||||||||||||||+-- Stylus is touching tablet
   ||||||||++++++++--- Stylus Y, scaled to 0-255
   ++++++++----------- Stylus X, scaled to 0-239

The fact that X and Y are scaled backwards is not an error - the games which use this mapper rescale the coordinates by multiplying X by 256/240 and multiplying Y by 240/256.