Hi all,
Recently I bought a GLK-2004 keyboard famiclone with a few cartridgess and a controller for dirt cheap, $5.
The keyboard has no parallel port, only two 15 pin controller ports and a cartridge port. Audio pin probably available on the controller port according to Nesdev wiki. One cartridge was special. The contacts of the cartridge weren't perfectly aligned with the slot contacts, but I managed to align so it worked.
Then I found that it has G-BASIC v5 on in. I haven't seen this version online yet, so I decided to post here.
Apparently the cartridge has around 4KB of WRAM on it, as the Toyo G-BASIC v5 shows it.
I tested a few things in G-Basic: POKE &H7000, &HEA, &H60 then PRINT HEX$(PEEK(&H7000)). The result vas EA. This confirms that the cartridge has more than 2K of WRAM, indeed possibly 4K as G-Basic states, although the LOAD and SAVE functions do not work. Then what is the purpose of the WRAM? CALL &H7000 works, returns from the subroutine without a problem. EA 60 machine code is NOP and RTS in 6502 assembly. Based on the look of the cartridge, and the spelling errors on it, it seems, that it is NOT a famiclone cartridge, but a Famicom one from Japan.
They just do not put WRAM in famiclone cartridges, I took apart the cartridge to examine the PCB. I assume that the arrangement of the chips are: CHR-ROM (black blob), 2x PRG-ROM which would explain one mapper chip on the side, and 2x 2K WRAM on the other side. Also I assume that the text on the PCB which is TY98046 is a serial number, and 990415 is a date code, based on the Japanese date format YY/MM/DD, which means that the PCM was made on April the 15th 1999.
P.S.
I would like to dump the contents of the cartridge onto my PC, examine it, share it. I only have audio output from the famiclone (besides controller strobe pin and the questionable audio pin). TTL voltage levels probably wont do, so I think I would rather use the RCA audio out on the famiclone to record the data as sound then decode it on the PC. I do not have a PC with serial nor parallel port.
So I am looking for a solution in which one audio tone carries 1 bytes of information, that would mean 256 tones, and with a spacing of 4Hz between them, it would need 1kHz bandwidth. Obviously the code to do this must be written in 6502 assembly and the machine code must be typed, or poked into WRAM, then called from G-BASIC.
Also I am searching for Blargg's code for RS232 communication through the controller port, or similar xmodem code for reference.
viewtopic.php?t=6720&sid=4e3cbbb2189093 ... 3&start=15
Recently I bought a GLK-2004 keyboard famiclone with a few cartridgess and a controller for dirt cheap, $5.
The keyboard has no parallel port, only two 15 pin controller ports and a cartridge port. Audio pin probably available on the controller port according to Nesdev wiki. One cartridge was special. The contacts of the cartridge weren't perfectly aligned with the slot contacts, but I managed to align so it worked.
Then I found that it has G-BASIC v5 on in. I haven't seen this version online yet, so I decided to post here.
Apparently the cartridge has around 4KB of WRAM on it, as the Toyo G-BASIC v5 shows it.
I tested a few things in G-Basic: POKE &H7000, &HEA, &H60 then PRINT HEX$(PEEK(&H7000)). The result vas EA. This confirms that the cartridge has more than 2K of WRAM, indeed possibly 4K as G-Basic states, although the LOAD and SAVE functions do not work. Then what is the purpose of the WRAM? CALL &H7000 works, returns from the subroutine without a problem. EA 60 machine code is NOP and RTS in 6502 assembly. Based on the look of the cartridge, and the spelling errors on it, it seems, that it is NOT a famiclone cartridge, but a Famicom one from Japan.
They just do not put WRAM in famiclone cartridges, I took apart the cartridge to examine the PCB. I assume that the arrangement of the chips are: CHR-ROM (black blob), 2x PRG-ROM which would explain one mapper chip on the side, and 2x 2K WRAM on the other side. Also I assume that the text on the PCB which is TY98046 is a serial number, and 990415 is a date code, based on the Japanese date format YY/MM/DD, which means that the PCM was made on April the 15th 1999.
P.S.
I would like to dump the contents of the cartridge onto my PC, examine it, share it. I only have audio output from the famiclone (besides controller strobe pin and the questionable audio pin). TTL voltage levels probably wont do, so I think I would rather use the RCA audio out on the famiclone to record the data as sound then decode it on the PC. I do not have a PC with serial nor parallel port.
So I am looking for a solution in which one audio tone carries 1 bytes of information, that would mean 256 tones, and with a spacing of 4Hz between them, it would need 1kHz bandwidth. Obviously the code to do this must be written in 6502 assembly and the machine code must be typed, or poked into WRAM, then called from G-BASIC.
Also I am searching for Blargg's code for RS232 communication through the controller port, or similar xmodem code for reference.
viewtopic.php?t=6720&sid=4e3cbbb2189093 ... 3&start=15
Statistics: Posted by cartman90 — Tue Nov 05, 2024 9:49 am — Replies 6 — Views 282