English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 07 March 2012, 18:46   #1
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 18,282
Pixel coding



[ Show youtube player ]
Akira is offline  
AdSense AdSense  
Old 07 March 2012, 19:43   #2
jimbob
Registered User

 
Join Date: May 2006
Location: Kilmacolm
Age: 39
Posts: 616
Wait . . . what? Is he using RGB values as mnemonics for x86 instructions?!

Or is this fake?
jimbob is offline  
Old 07 March 2012, 20:49   #3
Lord Riton
Registered User
Lord Riton's Avatar
 
Join Date: Jan 2011
Location: France
Age: 45
Posts: 490
fake
Lord Riton is offline  
Old 07 March 2012, 20:50   #4
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 18,282
He saves as RAW so he is writing the data straight to the executable. I guess this would be like machine coding, but writing with decimal instead of hex.

If you think it's "fake", then prove it is fake, otherwise, you're not making any favours to your point
Akira is offline  
Old 07 March 2012, 21:00   #5
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 5,586
Quote:
Originally Posted by Lord Riton View Post
fake
This is 100% real and not a fake. It was done by IQ/RGBA who's quite a well known demoscener.
StingRay is offline  
Old 07 March 2012, 21:23   #6
desiv
Registered User
 
Join Date: Oct 2009
Location: Salem, OR
Posts: 1,173
I would think it might be more likely that he wrote the tiny program first.
Then loaded it as a RAW image.
When he saw what it looked like, he was able to "recreate" it by hand, save it and instant demo!

Pretty kual...

desiv
desiv is offline  
Old 07 March 2012, 21:39   #7
acd2001
Zone Friend
acd2001's Avatar
 
Join Date: Nov 2005
Location: Italy
Posts: 35
Save this image in RAW mode and rename it with .com extension

Test pixel01.com in DOSBox
Attached Files
File Type: zip pixel01.zip (877 Bytes, 64 views)
acd2001 is offline  
Old 07 March 2012, 21:43   #8
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 18,282
Quote:
Originally Posted by acd2001 View Post
Save this image in RAW mode and rename it with .com extension
No thanks


Quote:
Originally Posted by desiv View Post
I would think it might be more likely that he wrote the tiny program first.
Then loaded it as a RAW image.
When he saw what it looked like, he was able to "recreate" it by hand, save it and instant demo!
I would believe that if you know to do machine code, it's easy. You just make a palette with the values you need.
Akira is offline  
Old 07 March 2012, 22:57   #9
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 862
Looks like he's only showing half the screen, where the other image resides (which is the same .com program loaded as a RAW image). With that image out of view, you can just use the colour picker to copy the colours across to the correct pixels. Simple when you know how ;-)

He's almost certainly not choosing his colours from prior knowledge of which machine instruction equals which value (or combination of values) - it's happening far too quickly for that.

D.
Dunny is offline  
Old 07 March 2012, 23:20   #10
jimbob
Registered User

 
Join Date: May 2006
Location: Kilmacolm
Age: 39
Posts: 616
Quote:
Originally Posted by Dunny View Post
Looks like he's only showing half the screen, where the other image resides (which is the same .com program loaded as a RAW image). With that image out of view, you can just use the colour picker to copy the colours across to the correct pixels. Simple when you know how ;-)

He's almost certainly not choosing his colours from prior knowledge of which machine instruction equals which value (or combination of values) - it's happening far too quickly for that.

D.

Aye, I think you're right. The mouse disappears off to the right and the RGB sliders all snap suddenly to a new value. I call semi-fake since the description says simply "open photoshop, draw some pixels"

I'm still impressed though, cool effect. The mental gymnastics performed by coders never ceases to amaze me. Makes me wonder about someone actually being able to program "assembly" that doesn't need assembled using colours instead of mnemonic. Like some kind of savant ability to interpret a bitmap this way.

I wonder if someone could design a combination of machine code and color encoding that would make correct syntax and good program structure look pretty.

I'll take my pills now.
jimbob is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
1-1 pixel perfect screenshots menace support.WinUAE 26 10 July 2016 22:33
Ateobus and pixel 64 attila06 support.Hardware 9 23 January 2012 22:15
Crayon Pixel Art Shoonay Nostalgia & memories 9 26 February 2009 13:59
Setting up the AteoBus and Pixel 64 Smiley support.Hardware 4 14 June 2006 11:39
'detect pixel format' Melroc support.WinUAE 2 09 December 2003 17:03

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:16.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.15071 seconds with 12 queries