Bryce, well known for his great hardware projects (MegaFlash ROM box, RGB to SVideo converter, MegaROM board, etc…), released a description on how to move the ACID protection chip into the CPC Plus. If you do this modification, you won’t need the ACID protection chip in the cartridge anymore and you can just connect cartridges without an ACID protection chip to the CPC Plus.
You can find the howto in the CPC Wiki.

A replacement possibility for the ACID protection chip was also released last year, too.

Connecting a Bluetooth module to the CPC Booster+

 

I really love Antitecs CPC Booster+ and I also think, that this small hardware enhancement for the CPC is a pretty underestimated device, because it contains a still state of the art Atmel microcontroller and above all: it is a serial interface. Ok, normally you would say something like “Serial interface, nobody uses that anymore”, but then you are wrong. If you are working with microcontrollers, you will find many modules which can adapt modern technologies to an UART (Universal Asynchronous Receiver Transmitter).

When I talked to a colleague about his hardware project, he told me that Bluetooth defines a SPP mode (Serial Port Profile) and that you can use Bluetooth simply with an serial interface of your microcontroller. If such a module is connected to another device, it is completly transparent, which means, that it just behaves like a normal serial connection.

After thinking about it I decided to buy a such module and hook it up to the CPC Booster+ and found a seller in Hong Kong (“digital-account”, but there are many sellers who sell that kind of Bluetooth modules), who offers Bluetooth modules for around 10 EUR including postage and packaging.

The connection to the Booster is really simple. You just have to remove(!!!) the MAX232 chip on the Booster, which is needed to do the voltage level shifting for RS232. When you removed it, you just connect the Bluetooth module directly to the empty IC socket (I used another IC socket on which I directly soldered the cables). On this image, you can see how to connect the cables:

Amstrad CPC: Connecting a Bluetooth module to the CPC Booster+

When you switch on your CPC with the CPC Booster+ connected to it, you will see a blinking red LED, which shows that the module is working and if you search for new Bluetooth devices, you should find a new one.
To use the Bluetooth module transparently with the tools, which already exist (e.g. the cool Arkos tools), you have to set the module to 115.200bps, 8N1. I wrote a small BASIC program, to do that for you. It tries to autodetect the current serial interface speed, sets the correct transfer parameters and you can also define a new Bluetooth device name, which is shown by the module, when you search for it. If you use this program, be sure that the Bluetooth module is not connected to another device (red LED should be blinking).

Selec All Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
100 'Automatische Bitratenerkennung eines Bluetooth Moduls
110 '(c)2011 Octoate
115 MODE 2
120 IF INP(&FF00)<>170 AND INP(&FF01)<>85 THEN PRINT"CPC Booster not detected."
125 PRINT"Trying to detect Bluetooth module bitrate."
130 'setup: 8n1, buffer
140 OUT &FF07,&6:OUT &FF0B,&16
150 FOR i=1 TO 8
154   OUT &FF1C,0:'reset buffer
155   READ value:READ bps:OUT &FF04,value
160   OUT &FF08,&41:OUT &FF08,&54:'send AT
170   FOR j=1 TO 2000:NEXT j:'just wait a bit
180   IF INP(&FF1C)=2 AND INP(&FF1D)=&4F AND INP(&FF1D)=&4B THEN 210
185   PRINT bps;:PRINT"bps...failed."
190 NEXT i
200 PRINT"Couldn't detect bps rate.":END
210 PRINT bps;:PRINT"bps detected."
220 PRINT "Select Bluetooth device name:";:INPUT a$
230 IF LEN(a$)=0 THEN 220
240 'send new name
250 send$="AT+NAME"+a$
260 length=LEN(send$):FOR i=1 TO length:OUT &FF08,ASC(MID$(send$,i,1)):NEXT i
266 response$="OKsetname":errmsg$="Set name failed.":GOSUB 500
270 send$="AT+BAUD8"
280 length=LEN(send$):FOR i=1 TO length:OUT &FF08,ASC(MID$(send$,i,1)):NEXT i
300 response$="OK115200":errmsg$="Baudrate configuration failed.":GOSUB 500
340 PRINT"Bluetooth device configuration successfull."
499 END
500 'check response
510 length=LEN(response$)
520 c=0:WHILE clength THEN PRINT errmsg$:END
540 FOR i=1 TO length:IF CHR$(INP(&FF1D))<>MID$(response$,i,1) THEN PRINT errmsg$:END ELSE NEXT i
550 RETURN
1000 DATA 143,4800,71,9600,47,14400,35,19200,23,28800,17,38400,11,57600,5,115200


That’s all. You can now connect e.g. your PC with the CPC Booster (pair the Bluetooth device first) and use the serial device which gets available when you paired the devices correctly. By the way, if the seller of your Bluetooth module didn’t tell you the pairing password, you can try “0000” or “1234”. Mostly they use them as a default password.

The Bluetooth module is controlled via simple AT commands (you can see that in the source code above). In my case, the Bluetooth module contains the “linvor” firmware, which offers AT, AT+BAUD,  AT+VERSION, AT+NAME and AT+PIN. You can read more about those commands in a great Blog entry by Byron76.

 

Did you ever think about having a Bluetooth connection to your CPC, e.g. to transfer your data or DSK images directly from or to it? Of course it is possible and it is very simple to realise that, plus: you can use all the tools, which already work with the CPC Booster+. I already use this setup for nearly a year and found the time time to document it. You can find the documentation in the articles section of this page.

Bluetooth modules on an Amstrad CPC

 

TFM just released, as promised, a single version of his ROMManager for the Megaflash ROM interface and the Symbiface II . He also added the Inicron ROMBooster to the ROM, so you can now directly use up to 32 ROMs without installing the ROMBooster in ROM no. 15. You can download it from TFMs homepage http://www.futureos.de (in the download section). You can discuss the latest version or report errors in the CPCWiki forums.

 

TFM released the first official version of the ROManager application for the MegaFlash from Bryce. After a long phase of testing by SyX the ROMananger in version 1.35 is now capable to perform the following tasks:

  • Park or Unpark a ROM
  • Clear a ROM
  • Copy, swap or shift ROMs
  • Test a ROM for name, version number and checksum.
  • Adapt a ROM checksum
  • ROMs can be loaded from disc or saved to disc.

There are versions for Basic (either from disc or ROM redident) or for FutureOS. The Basic version can work with different drives and OSs. The ROM resident version needs  32 KB, which equals two ROMs. A version which only needs one ROM is under development.

The ROManager including all source codes can be downloaded at: http://www.FutureOS.de

MegaFlash

© 2012 Octoate.de - The Amstrad CPC news portal CPC-Topsites

Serverüberwachung / Servermonitoring mit Livewatch.de
Servermonitoring mit Livewatch.de
Suffusion theme by Sayontan Sinha