--> ap/xxxxx

__

Installed Conkeror for Firefox - Emacs bindings and mouseless approach: (tech_notes#3)

Followed instructions at: http://bc.tech.coop/blog/060529.html

(using c key here within Conkeror to copy current link)

and:

http://conkeror.mozdev.org/installation.html

Numbered links: we simply enter the number

To find out more: C-h-i Man page (C- is control M- is meta) or C-h-b - list of all bindings

Simple stuff:

g - open new location

B and F - backwards and forwards

C-x-r-b - jump to bookmark

C-x-r-l - show all bookmarks

ESC to exit text box entry

and usual Emacs bindings - C-s for search which (in caret mode after hitting F7) also highlights and can thus be M-w into killring

One question: how do we access history... history.js?

ATmega serial and notes: (2007.01.09:2 tech_notes#2 atmegascheme#8)

1] Using old MAX3232 circuit from PIC times (see http://www.geocities.com/vsurducan/electro/PIC/pic84lcd.htm) with pin 11 of 3232 (T1IN) to TX pin 3 on ATmega, 12 (R1OUT) to RX pin 2.

2] 1 MHz is factory default internal oscillator frequency which we CAN change with Guido's prg_fusebit_uc script (1 MHz means we have to stay at 2400 baud and this is as set in minicom: 2400 8N1) - can only be changed without external oscillator upto 8 MHz

3] Sample serial writing code as follows:

#include <stdio.h>
#include <avr/io.h>
#include <inttypes.h>
#define F_CPU 1000000UL  // 1 MHz
#include <avr/delay.h>

#define BAUD 2400

#define F_OSC 1000000 //default setting
#define UART_BAUD_RATE 2400
#define UART_BAUD_CALC(UART_BAUD_RATE,F_OSC) ((F_OSC)/((UART_BAUD_RATE)*16l)-1)

void init_uart(void)
{
  // set baud rate
  UBRRH = (uint8_t)(UART_BAUD_CALC(UART_BAUD_RATE,F_OSC)>>8);
  UBRRL = (uint8_t)UART_BAUD_CALC(UART_BAUD_RATE,F_OSC);

  // Enable receiver and transmitter; enable RX interrupt
  UCSRB = (1<<RXEN) | (1<<TXEN);

  //asynchronous 8N1
  UCSRC = (1<<URSEL) | (3<<UCSZ0);
}

static int uart_putchar(char c, FILE *stream);

static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL,_FDEV_SETUP_WRITE);

static int uart_putchar(char c, FILE *stream)
{
  
  if (c == '\n')
    uart_putchar('\r', stream);
  loop_until_bit_is_set(UCSRA, UDRE);
  UDR = c;
  return 0;
}

int
main(void)
{
   init_uart();
  stdout = &mystdout;
 
  while(1) printf("help!");
  return 0;
}

4] serial echo (read/write echoes characters typed from miniterm based on wiring.c from Arduino):

http://1010.co.uk/testserial.c

5] Forgot that Emacs/Brood code of Tom Schouten's is all wrapped up in Forth... should be easy enough to use PLT or other Lisp/Scheme to wrap up communications with the scrying scheme board.

6] Next step is to use the LQFP32 packaged FT232BL (not R) board -

Kicad program for schematics looks good but we will have to modify the 232R component (both SMD and DIL ATmegas are available in additional libraries).

links:

Kicad: http://www.lis.inpg.fr/realise_au_lis/kicad/

Libraries: http://www.kicadlib.org/

(Oregano (limited as to component libraries), and Xcircuit also as possible schematic cpature offerings).

towards a scrying (Scheme) embedded interpreter (2007.01.09:1 research#130 interpreter#1 scrying#1)

with a nod to Wilfried's article: http://socialfiction.org/index.php?tag=scrying

and the mention of the mirror and timed revolution (dream machine) returning us to the film machine/Black Maria - itself a black, absorbing density (the black velvet of the magic trick (Pynchon AtD)) in relation to reflecting (of life)