WonderGate: Difference between revisions

From WSdev Wiki
Jump to navigationJump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== WonderGate ==
The MobileWonderGate is a PPP Internet adapter for the WonderSwan, utilizing a PDC-standard mobile phone as a modem.


TODO
== Hardware ==


=== Servers ===
The MobileWonderGate features the following major components:


* Suntac D82525GC001 - CPU?
* ST M29W800AT - 8 Mbit NOR flash
* CY7C1021V33 - 1 Mbit SRAM
The connector used for the PHS cable appears to be a 10-pin JST SH-1.0, but this has to be verified.
<gallery>
File:MobileWonderGate_PCB_top.jpg|PCB top|alt=PCB top
File:MobileWonderGate_PCB_bottom.jpg|PCB bottom|alt=PCB bottom
</gallery>
== Commands ==
All command communication uses the following format over 9,600 baud [[UART]]:
{| class="wikitable"
|-
! Offset !! Length !! Description
|-
| $00 || 1 || Command type
|-
| $01 || 1 || Zero?
|-
| $02 || 1 || Remaining length (from $03 onwards)
|-
| $03 || 1 || Command
|-
| $04 || ... || Parameters
|}
The following command IDs will be provided in the <code>Type:Command</code> format.
=== Check PDC status ($01:$00) ===
=== Initialize adapter ($01:$02) ===
=== Dial phone number ($01:$08) ===
=== Hang up ($01:$0A) ===
=== Set PPP login/password ($01:$10) ===
=== Set DNS servers ($01:$11) ===
=== Get adapter status ($02:$01) ===
=== Deinitialize adapter ($0F:$FF) ===
=== Create socket ($11:$01) ===
=== Connect to socket ($11:$03) ===
=== Close socket ($11:$07) ===
=== Get host name/IP address ($11:$08) ===
=== Read line from socket ($11:$0D) ===
=== Write bytes to socket ($11:$0E) ===
=== Read bytes from socket ($11:$0F) ===
== Servers ==


{| class="wikitable"
{| class="wikitable"
|+ WonderGate servers
|-
|-
! Software !! Hostname
! Software !! Hostname

Latest revision as of 17:33, 5 February 2025

The MobileWonderGate is a PPP Internet adapter for the WonderSwan, utilizing a PDC-standard mobile phone as a modem.

Hardware

The MobileWonderGate features the following major components:

  • Suntac D82525GC001 - CPU?
  • ST M29W800AT - 8 Mbit NOR flash
  • CY7C1021V33 - 1 Mbit SRAM

The connector used for the PHS cable appears to be a 10-pin JST SH-1.0, but this has to be verified.

Commands

All command communication uses the following format over 9,600 baud UART:

Offset Length Description
$00 1 Command type
$01 1 Zero?
$02 1 Remaining length (from $03 onwards)
$03 1 Command
$04 ... Parameters

The following command IDs will be provided in the Type:Command format.

Check PDC status ($01:$00)

Initialize adapter ($01:$02)

Dial phone number ($01:$08)

Hang up ($01:$0A)

Set PPP login/password ($01:$10)

Set DNS servers ($01:$11)

Get adapter status ($02:$01)

Deinitialize adapter ($0F:$FF)

Create socket ($11:$01)

Connect to socket ($11:$03)

Close socket ($11:$07)

Get host name/IP address ($11:$08)

Read line from socket ($11:$0D)

Write bytes to socket ($11:$0E)

Read bytes from socket ($11:$0F)

Servers

Software Hostname
MobileWonderGate (web browser) bpl01.mopera.ne.jp
bpl02.mopera.ne.jp
Pocket Fighter
Rainbow Islands - Putty's Party
Star Hearts
Terrors 2 terrors2.wgg.channel.or.jp
Wizardry