|
imayoda
Re: LCD screen for your dockstar (cheap! <$5) March 02, 2011 04:28PM |
|
Re: LCD screen for your dockstar (cheap! <$5) March 02, 2011 05:18PM |
Registered: 14 years ago Posts: 28 |
|
Re: LCD screen for your dockstar (cheap! <$5) March 05, 2011 12:06AM |
Registered: 14 years ago Posts: 128 |
|
imayoda
Re: LCD screen for your dockstar (cheap! <$5) March 09, 2011 12:03PM |
|
imayoda
Re: LCD screen for your dockstar (cheap! <$5) March 09, 2011 07:40PM |
|
Re: LCD screen for your dockstar (cheap! <$5) March 12, 2011 05:29PM |
Registered: 15 years ago Posts: 35 |
|
KF_ND
Re: LCD screen for your dockstar (cheap! <$5) March 12, 2011 08:29PM |
|
Re: LCD screen for your dockstar (cheap! <$5) March 13, 2011 05:19AM |
Registered: 15 years ago Posts: 35 |
Widget WHO0 {
class 'Text'
expression '/var/log/syslog'
width linesize
align 'C'
Background 'cccccc'
Foreground '191919'
}
Widget WHO1 {
class 'Text'
expression substr(exec('tail -n 1 /var/log/syslog', 1000), 0 * linesize, linesize)
width linesize
align 'L'
Background '333333'
Foreground 'ffffff'
}
Widget WHO2 {
class 'Text'
expression substr(exec('tail -n 1 /var/log/syslog', 1000), 1 * linesize, linesize)
width linesize
align 'L'
Background '333333'
Foreground 'ffffff'
}
Widget WHO3 {
class 'Text'
expression substr(exec('tail -n 1 /var/log/syslog', 1000), 2 * linesize, linesize)
width linesize
align 'L'
Background '333333'
Foreground 'ffffff'
}
Widget WHO4 {
class 'Text'
expression substr(exec('tail -n 1 /var/log/syslog', 1000), 3 * linesize, linesize)
width linesize
align 'L'
Background '333333'
Foreground 'ffffff'
}
Widget WHO5 {
class 'Text'
expression substr(exec('tail -n 1 /var/log/syslog', 1000), 4 * linesize, linesize)
width linesize
align 'L'
Background '333333'
Foreground 'ffffff'
}
# [...]
Layout mylayout {
# [...]
Row14.Col02 'WHO0'
Row15.Col02 'WHO1'
Row16.Col02 'WHO2'
Row17.Col02 'WHO3'
Row18.Col02 'WHO4'
Row19.Col02 'WHO5'
# [...]
}
Layout 'mylayout'
Variables {
tick 500
tack 200
minute 60000
linesize 51
}
|
Re: LCD screen for your dockstar (cheap! <$5) March 13, 2011 05:56AM |
Registered: 14 years ago Posts: 22 |
|
Re: LCD screen for your dockstar (cheap! <$5) March 20, 2011 05:25PM |
Registered: 15 years ago Posts: 35 |
|
bastel
Re: LCD screen for your dockstar (cheap! <$5) March 21, 2011 03:22PM |
|
Re: LCD screen for your dockstar (cheap! <$5) March 21, 2011 04:04PM |
Registered: 15 years ago Posts: 35 |
|
Re: LCD screen for your dockstar (cheap! <$5) March 22, 2011 03:38AM |
Registered: 14 years ago Posts: 22 |
|
dpffan
Re: LCD screen for your dockstar (cheap! <$5) March 22, 2011 09:01AM |
|
EPG
Re: LCD screen for your dockstar (cheap! <$5) March 28, 2011 05:18AM |
|
Re: LCD screen for your dockstar (cheap! <$5) March 28, 2011 06:03AM |
Registered: 15 years ago Posts: 10 |
|
Re: LCD screen for your dockstar (cheap! <$5) March 28, 2011 01:40PM |
Registered: 15 years ago Posts: 35 |
./configure --with-drivers='DPF,X11' --with-plugins='all,!dbus,!mpris_dbus'which also avoids the dbus related warnings at startup.
|
EPG
Re: LCD screen for your dockstar (cheap! <$5) March 28, 2011 02:59PM |
|
Keith
Re: LCD screen for your dockstar (cheap! <$5) April 02, 2011 05:28AM |
root@ubuntu:~/Downloads/output/st2205tool# dmesg | tail -12 [ 408.850765] sd 4:0:0:0: [sdb] 4096 512-byte logical blocks: (2.09 MB/2.00 MiB) [ 408.855653] sd 4:0:0:0: [sdb] Write Protect is off [ 408.855730] sd 4:0:0:0: [sdb] Mode Sense: 0b 00 00 08 [ 408.855779] sd 4:0:0:0: [sdb] Assuming drive cache: write through [ 408.872497] sd 4:0:0:0: [sdb] Assuming drive cache: write through [ 408.872611] sdb: unknown partition table [ 408.918547] sd 4:0:0:0: [sdb] Assuming drive cache: write through [ 408.918616] sd 4:0:0:0: [sdb] Attached SCSI removable disk [ 412.520565] usb 2-1: reset full speed USB device using uhci_hcd and address 4 [ 7073.889007] usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -84 [ 7073.889857] usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -71 [ 7074.120486] usb 2-1: reset full speed USB device using uhci_hcd and address 4
root@ubuntu:~/Downloads/output/st2205tool# lsusb -v
Bus 002 Device 004: ID 1403:0001 Sitronix Digital Photo Frame
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1403 Sitronix
idProduct 0x0001 Digital Photo Frame
bcdDevice 1.10
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
root@ubuntu:~/Downloads/output/st2205tool# sudo perl generate-hack.pl /dev/sdb hack/m_royal_silver
Creating hack/m_royal_silver...
using DA65=/home/xizor/Downloads/output/st2205tool/cc65/src/da65/da65
using PHACK=/home/xizor/Downloads/output/st2205tool/phack
Dumping firmware: /home/xizor/Downloads/output/st2205tool/phack -df fwimage.bin /dev/sdb
..
Firmware dumped.
Splitting firmware into 16k segments...
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 0.000123026 s, 133 MB/s
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 9.0353e-05 s, 181 MB/s
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 9.6213e-05 s, 170 MB/s
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 8.765e-05 s, 187 MB/s
Locating CMP_VAR1 & CMP_VAR2...
0397->0398
L7267: lda $0397
cmp #$31
bne L7277
lda $0398
cmp #$00
bne L7277
Locating PATCH_AT...
L72A5: lda #$FF
ldx #$FF
L72A9: sta $0397
stx $0398
rts
Creating lookforme.bin...
12+0 records in
12+0 records out
12 bytes (12 B) copied, 0.000145019 s, 82.7 kB/s
Locating free space ..
Empty space: found 561 0xff bytes starting at 0x3da9
FYI - you can verify with: hexdump -s 0x3da9 -n 561 -v fwimage-seg0.bin | less
Locating SEND_CSW...
L716D: pha
lda #$55
sta $0240
lda #$53
sta $0241
lda #$42
sta $0242
lda #$53
Locating LEN0 LEN1 LEN2 LEN3...
stz $038B
stz $038C
lda $0216
stz $038B
lda $0217
sta $038A
asl $038A
rol $038B
rol $038C
stz $038F
stz $0390
lda $0216
stz $038F
lda $0217
sta $038E
asl $038E
rol $038F
rol $0390
Warning! multiple matches (2) - will use the first one after SEND_CSW location
Guessing CTRTYPE...
----
lda #$2A
sta $8000
lda #$00
sta $C000
lda #$00
sta $C000
lda #$00
sta $C000
lda #$5F
sta $C000
lda #$2B
sta $8000
lda #$00
sta $C000
lda #$00
sta $C000
lda #$00
sta $C000
lda #$3F
sta $C000
----
lda #$2A
sta $8000
lda #$00
sta $C000
lda #$04
sta $C000
lda #$00
sta $C000
lda #$83
sta $C000
lda #$2B
sta $8000
lda #$00
sta $C000
lda #$04
sta $C000
lda #$00
sta $C000
lda #$83
sta $C000
Eeek! expected single match but found 2 - dont know what to do!
|
Re: LCD screen for your dockstar (cheap! <$5) April 02, 2011 08:40AM |
Registered: 15 years ago Posts: 261 |
die "Eeek! expected single match but found $count - dont know what to do!\n" if $count!=1;
to
print "Eeek! expected single match but found $count - dont know what to do!\n" if $count!=1;
-PG
|
dpffan
Re: LCD screen for your dockstar (cheap! <$5) April 04, 2011 07:55AM |
|
Re: LCD screen for your dockstar (cheap! <$5) April 04, 2011 11:50AM |
Registered: 14 years ago Posts: 2 |
|
Re: LCD screen for your dockstar (cheap! <$5) April 04, 2011 02:52PM |
Registered: 15 years ago Posts: 89 |
|
Re: LCD screen for your dockstar (cheap! <$5) April 07, 2011 02:39PM |
Registered: 14 years ago Posts: 219 |
|
dpffan
Re: LCD screen for your dockstar (cheap! <$5) April 07, 2011 06:39PM |
|
Re: LCD screen for your dockstar (cheap! <$5) April 08, 2011 03:29AM |
Registered: 14 years ago Posts: 219 |
|
Re: LCD screen for your dockstar (cheap! <$5) April 10, 2011 10:42AM |
Registered: 15 years ago Posts: 35 |
|
Re: LCD screen for your dockstar (cheap! <$5) April 13, 2011 11:26AM |
Registered: 14 years ago Posts: 22 |
|
Re: LCD screen for your dockstar (cheap! <$5) April 13, 2011 04:52PM |
Registered: 14 years ago Posts: 219 |
|
Re: LCD screen for your dockstar (cheap! <$5) April 15, 2011 05:22PM |
Registered: 14 years ago Posts: 2 |