English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 07 March 2012, 17:46   #1
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
Pixel coding



[ Show youtube player ]
Amiga1992 is offline  
Old 07 March 2012, 18:43   #2
jimbob
Registered User
 
Join Date: May 2006
Location: Kilmacolm
Age: 45
Posts: 632
Wait . . . what? Is he using RGB values as mnemonics for x86 instructions?!

Or is this fake?
jimbob is offline  
Old 07 March 2012, 19:49   #3
Lord Riton
Registered User
 
Lord Riton's Avatar
 
Join Date: Jan 2011
Location: France
Age: 52
Posts: 507
fake
Lord Riton is offline  
Old 07 March 2012, 19:50   #4
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
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
Amiga1992 is offline  
Old 07 March 2012, 20:00   #5
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
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, 20:23   #6
desiv
Registered User
 
desiv's Avatar
 
Join Date: Oct 2009
Location: Salem, OR
Posts: 1,767
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, 20:39   #7
acd2001
Zone Friend
 
acd2001's Avatar
 
Join Date: Nov 2005
Location: Italy
Posts: 139
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, 245 views)
acd2001 is offline  
Old 07 March 2012, 20:43   #8
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
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.
Amiga1992 is offline  
Old 07 March 2012, 21:57   #9
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,978
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, 22:20   #10
jimbob
Registered User
 
Join Date: May 2006
Location: Kilmacolm
Age: 45
Posts: 632
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  
 


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 21:33
Ateobus and pixel 64 attila06 support.Hardware 9 23 January 2012 21:15
Crayon Pixel Art Shoonay Nostalgia & memories 9 26 February 2009 12:59
Setting up the AteoBus and Pixel 64 Smiley support.Hardware 4 14 June 2006 10:39
'detect pixel format' Melroc support.WinUAE 2 09 December 2003 16: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 05:36.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08948 seconds with 14 queries