Month: November 2011

Desativando a alternancia entre desktops virtuais do E17

Se o seu desktop virtual fica alternando para o próximo ambiente toda vez que você aproxima o mouse da borda direita/esquerda da tela, então você pode desativar este recurso (“Edge Bindings”) do seu E17:

Vá em “Settings Panel” (Settings>Settings Panel)

Role a tela horizontalmente e clique na aba “Input”

Abra “Edge Bindings”

Selecione “Delete All”

Clique em “Apply” e “OK”

Pronto, problema resolvido!

Fonte: http://www.cafebotanical.com/knowledgeroot-0.9.9/knowledgeroot-0.9.9/index.php?id=26#

Compiling sdcc-m08 on Linux

There is a SDCC version for HC08 and HCS08 which generate better executable than mainline sdcc project, this is the sdcc-m08: http://sdcc-m08.sourceforge.net

To compile it on Linux (since it was developed initally for Windows) execute:

$ find . -type f | xargs dos2unix
$ find . -type f | xargs sed -i 's/getline/get_line/'

Edit the files ports.build and ports.all renaming M08 to m08

Disable almost all ports, except m08-port:

$ ./configure --disable-mcs51-port --disable-gbz80-port --disable-z80-port --disable-avr-port --disable-ds390-port --disable-ds400-port --disable-pic-port --disable-pic16-port --disable-xa51-port --disable-ucsim

Then make it:

$ make

If everything goes fine you will get the file bin/sdcc.

That’s all folks!