• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[Ann-Reply] Reply to Announce group

Kaj
10-Dec-2012
[1009x3]
Doc, it's firmly an 8-bit CPU emulator, but it can certainly serve 
as a general example to implement other emulators in Red/System
Hm, John's emulator uses RebCode, perhaps that's why it slipped my 
mind. It would be fairly fast, but only runs on some REBOL versions
It seems mostly meant for testing RebCode. It lacks a lot of functionality 
needed for emulating a real machine
Endo
11-Dec-2012
[1012]
Great work Kaj.
Geomol
11-Dec-2012
[1013]
Yes, my em6502.r was a test of the speed of rebcode. It was meant 
as a proof-of-concept. I never used it much. It's for the rebcode 
found in REBOL/View 1.3.50, which was the first rebcode version afaik. 
So not compatible with later rebcode.


There also is an assembler: http://www.fys.ku.dk/~niclasen/rebol/language/asm6502.r

and a MOS 6502 workbench: http://www.fys.ku.dk/~niclasen/rebol/language/m6502wb.r

, if anyone can find some use of it.
Steeve
11-Dec-2012
[1014]
I also made a Z80 emulation using rebcode http://www.rebol.org/view-script.r?script=galaga.r
Kaj
11-Dec-2012
[1015]
Cool stuff
DocKimbel
11-Dec-2012
[1016]
Steeve: very cool work, Galaga was one of my favorite Arcade game 
of all time, I wish you could port the Arcade version to Red someday! 
;-)
Endo
12-Dec-2012
[1017]
Great news!! REBOL is now open source!
james_nak
12-Dec-2012
[1018]
Kaj, thanks. 6502 brings back great memories. I got my first and 
only published program in the June 1986 Compute Gazzette with a C64 
program called Quick Key.
Maxim
12-Dec-2012
[1019]
yay,   R3 is now free   :-D
Geomol
12-Dec-2012
[1020]
Wow, did that really happen? :) Could it be the beginning of something 
great?
GrahamC
12-Dec-2012
[1021]
Now we just wait for the freeing of World .. and all Rebol variants 
will be open source :)
Andreas
12-Dec-2012
[1022]
Yay!

$ ./r3 --do 'print system/version'
2.101.0.4.4
Kaj
12-Dec-2012
[1023]
Eh? I thought the next release would be alpha 112?
Andreas
12-Dec-2012
[1024x2]
R3 alpha 112 was 2.100.111
R3 open source is 2.101.0, at the moment.
Kaj
12-Dec-2012
[1026]
Oh
Andreas
12-Dec-2012
[1027]
(Sorry, alpha 111 was 2.100.111, obviously.)
BrianH
12-Dec-2012
[1028]
Actually, alpha 112 was never released. If it had existed, it would 
have been 2.100.112.
Kaj
12-Dec-2012
[1029]
Carl's release numbering and naming is quite confusing
Andreas
12-Dec-2012
[1030]
Agreed, 2.99/2.100/2.101 certainly are.
Kaj
12-Dec-2012
[1031]
James, I bought Compute in the eighties whenever I could lay my hands 
on it in the Netherlands :-)
GrahamC
12-Dec-2012
[1032x2]
And spent hours typing in listings :(
I rigged up my C64 with the speech synth module so that it would 
read out each character as i typed in the machine code listings etc
Kaj
12-Dec-2012
[1034]
Yeah, I think my biggest was 18KB, complete listings of the TurboBASIC 
interpreter and compiler. We haven't made any progress since then 
;-)
GrahamC
12-Dec-2012
[1035]
I've got my Compute! magazines in storage in my shed
Kaj
12-Dec-2012
[1036]
For some mags I had to write my own entry programs to assist in using 
the checksums
GrahamC
12-Dec-2012
[1037]
Magazines were fun then .. now you have to do a random walk across 
the web
Gregg
22-Dec-2012
[1038]
Thanks for putting Saphirion's efforts behind R3 Robert.
GrahamC
22-Dec-2012
[1039]
Robert, gray text on a black background is very hard to read ....
Robert
22-Dec-2012
[1040]
where is it? On our R3-GUI doc pages?
GrahamC
22-Dec-2012
[1041]
Downloads page
Robert
22-Dec-2012
[1042x2]
Ok, checking & changing.
Done.
Endo
24-Dec-2012
[1044]
That's cool Kaj! :) But I think when Doc start working on the optimizer, 
the difference will be smaller.
Kaj
24-Dec-2012
[1045]
Of course, but Red will always be a lot slower than Red/System
Henrik
24-Dec-2012
[1046x2]
function! -> routine! = nice and easy way to optimize things, when 
required.
or, encapsulate optimizations
Arnold
28-Dec-2012
[1048]
Kaj, still very important progress too!
Janko
29-Dec-2012
[1049]
Kaj, awesome!!
DocKimbel
29-Dec-2012
[1050]
ChristianE: nice work! 


How do you cope with multiple columns having the same name returned 
by INSERT? This can happen when you select from several tables, and 
may lead to nasty errors.
BrianH
29-Dec-2012
[1051x3]
The headers (field names) aren't used for retrieval, they're just 
returned for documentation. As in R2, the columns are returned positionally.
The block of headers is not screened for dups and currently could 
use a little screening for unnamed columns (it would be better to 
return none rather than an empty word). Fortunately, they don't matter 
in your code unless you want them to.
If you're careful about your column naming, the returned block of 
header words can be handy though.
ChristianE
30-Dec-2012
[1054x2]
Hi Brian! In order to make the ODBC extension bootable, I've commented 
out the last lines in src/boot/odbc.r, because otherwise R3 chokes 
on the word EXTEND not being bound to a context on boot time. It's 
not available as SYS/EXTEND either, but of course, there must be 
some way to use EXTEND.
(sorry, wrong group)
DocKimbel
30-Dec-2012
[1056]
BrianH: see the "Column names" section in the README, those column 
names returned by INSERT are specifically meant for mapping on the 
result set, hence my concern about duplicate names.
ChristianE
30-Dec-2012
[1057]
You're both right here. Usually, I avoid duplicate names on the SQL 
side already, frequently mapping sql result column names with "as 
<columnname>" to the words I want to use in Rebol.


SELECT Customer.ID AS CustomerId, Article.ID AS ArticleId, Order.Copies 
* Article.Price AS TotalPrice ...   --->  [customer-id article-id 
total-price]
BrianH
30-Dec-2012
[1058]
Doc, those column names are meant for binding to the result set, 
but it is not necessary to access the result set that way. You usually 
just do the positional access. If you want to use the column names, 
you have to make sure the column names are unique and that all columns 
have names, same as you have to do with all SQL.