어셈부터 다시 공부좀 해봐야 하나... ㅠㅠ


.text는 코드 영역

.data는 초기화 된 변수

.bss는 초기화되지 않은 변수


어짜피 실행파일(elf?) 에서는 stack / heap이 존재할 이유가 없으니

세개정도의 섹션만 분석하면 답이 나오려나..


highest address


=========

| stack |

|   v   |

|       |

|       |

|   ^   |

|  heap |

=========

|  bss  |

=========

| data  |

=========

| text  |

=========


address 0 


[링크 : https://bytes.com/topic/c/answers/854464-text-data-bss]

'Programming > Assembly(어셈블리)' 카테고리의 다른 글

fasm / nasm / masm  (0) 2015.06.13
어셈블리 관련  (0) 2015.06.11
ia32 어셈블리 언어  (0) 2013.12.12
.DATA? 지시어  (0) 2011.07.31
x86 register  (2) 2011.07.17
Posted by 구차니
Programming/vulkan2016. 2. 17. 08:32

이메일로 온 먼가 새로운 정보?


What is Vulkan?

Vulkan is a low level API that gives direct access of the GPU to developers who want the ultimate in control. With a simpler, thinner driver, Vulkan uses less latency and overhead than traditional OpenGL or Direct3D. Vulkan has efficient multi-threading capabilities with multi-core CPUs that keep the graphics pipeline loaded, enabling a new level of performance on existing hardware.


Vulkan is the first new generation, low-level API that is cross platform. This allows developers to create applications for a variety of PC and mobile devices and operating systems. Like OpenGL, Vulkan is an open, royalty-free standard for any platform to adopt. For developers who prefer to remain on OpenGL, NVIDIA will continue to lead OpenGL innovations.


[링크 : https://developer.nvidia.com/vulkan-graphics-api-here]

'Programming > vulkan' 카테고리의 다른 글

vulkan on macos  (0) 2022.04.27
vulkan tutorial  (0) 2022.04.27
vulkan 문서  (0) 2020.04.06
Posted by 구차니
Programming/openGL2016. 2. 2. 19:24


8.010 How does the camera work in OpenGL?


As far as OpenGL is concerned, there is no camera. More specifically, the camera is always located at the eye space coordinate (0., 0., 0.). To give the appearance of moving the camera, your OpenGL application must move the scene with the inverse of the camera transformation.


8.020 How can I move my eye, or camera, in my scene?


OpenGL doesn't provide an interface to do this using a camera model. However, the GLU library provides the gluLookAt() function, which takes an eye position, a position to look at, and an up vector, all in object space coordinates. This function computes the inverse camera transform according to its parameters and multiplies it onto the current matrix stack.


[링크 : https://www.opengl.org/archives/resources/faq/technical/viewing.htm]

    [링크 : http://gamedev.stackexchange.com/.../why-do-we-move-the-world-instead-of-the-camera] 


[링크 : http://blog.secmem.org/132]

[링크 : http://darkpgmr.tistory.com/84]

[링크 : http://gcland.tistory.com/189]


[링크 : https://www.opengl.org/archives/resources/code/samples/redbook/]

'Programming > openGL' 카테고리의 다른 글

glxgears 소스  (0) 2016.09.07
opencv opengl  (0) 2016.02.26
myAHRS cube 예제  (0) 2016.02.02
openCV <-> openGL  (0) 2015.09.24
openGL triangle winding  (0) 2015.07.22
Posted by 구차니
Programming/openGL2016. 2. 2. 12:47

openGL 공부할겸 소스 뜯어 봐야겠다.




[링크 : https://github.com/...master/odroid_c1/opengles_20/samples/opengles_20/cube_with_myahrs]

    [링크 : https://github.com/withrobot/myAHRS_plus/tree/master/odroid_c1/opengles_20]


대충 봤는데.. EGL 초기화하고 vertex shader 쓰고...

흐음.. 내가 생각하던 그 예제랑은 달라서 의미가 없으려나? ㅠㅠ

'Programming > openGL' 카테고리의 다른 글

opencv opengl  (0) 2016.02.26
opengl camera의 이해  (0) 2016.02.02
openCV <-> openGL  (0) 2015.09.24
openGL triangle winding  (0) 2015.07.22
openGL super bible 3rd ed - 깊이, 은면처리  (0) 2015.07.21
Posted by 구차니


왼쪽 메뉴 크기를 고정하고

메인 내용을 가변으로 가득 채우고 싶어서 발악(?) 했는데

의외로 손쉽게 그런 구조로 되어 있는 녀석을 발견 ?!?!?!?

뜯어봐도 이해를 못하겠... OTL

[링크 : http://www.w3schools.com/html/html5_browsers.asp]


결론은. - 마진인가...

다만 float : right 정도?

[링크 : http://stackoverflow.com/.../2-column-layout-left-column-fixed-width-right-fluid-clearboth]


margin : top right bottom left 순서..

[링크 : http://www.w3schools.com/css/css_boxmodel.asp]

[링크 : http://www.w3schools.com/css/css_margin.asp]



margin: 0 -220px 0 auto;

그럼.. top 0

right -220

bottom 0

left auto ?


흠... iframe이랑 하려니 잘 안되네...

'Programming > javascript & HTML' 카테고리의 다른 글

javascript toString() 진법변환  (0) 2017.05.25
div slide 애니메이션  (0) 2017.01.14
semantic element / HTML5  (0) 2016.01.21
HTML form 은 중첩불가..  (0) 2016.01.14
HTML5용 슬라이더 바  (0) 2016.01.13
Posted by 구차니

daum.net 뜯어 보다

head가 아닌 header가 보여서 먼가 ... 찾아 봤더니

HTML5 태그라고 한다.


<article>

<aside>

<details>

<figcaption>

<figure>

<footer>

<header>

<main>

<mark>

<nav>

<section>

<summary>

<time>


[링크 : http://www.w3schools.com/html/html5_semantic_elements.asp]


nav도 html5 였구나..

'Programming > javascript & HTML' 카테고리의 다른 글

div slide 애니메이션  (0) 2017.01.14
div margin: 0 -200px 0 auto  (0) 2016.01.21
HTML form 은 중첩불가..  (0) 2016.01.14
HTML5용 슬라이더 바  (0) 2016.01.13
반응형 웹... w3cshool 링크  (0) 2016.01.11
Posted by 구차니
Programming/web 관련2016. 1. 14. 13:25

크롬에서 vlc가 안되서 찾아 봤더니

vlc도 npapi를 통해 호출한거라 막혔... OTL

VLC에 PPAPI 버전이 나오기 전까지는 답이 없다는게 함정...


[링크 : http://www.vboxcomm.com/enable-vlc-web-plugin-in-google-chrome-npapi.html?tmpl=component]

    [링크 : https://wiki.videolan.org/OPW_Summer_2014/#Port_VLC.27s_NPAPI_web_plugin_to_PPAPI]

[링크 : https://support.google.com/chrome/answer/6213033?hl=ko]


'Programming > web 관련' 카테고리의 다른 글

해싱 salt  (0) 2017.01.27
AWS 서버리스 서버(serverless)  (0) 2017.01.02
HTML5 video player 720p/1080p 재생여부  (0) 2016.01.13
ssi(Server Side Includes)  (0) 2015.12.09
홈페이지 검증  (0) 2015.09.17
Posted by 구차니

혹시나 해서 찾아 봤지만

역시나.. 표준으로는 form은 중첩불가! 라고 해놨...

아놔...


Note you are not allowed to nest FORM elements!

[링크 : https://www.w3.org/MarkUp/html3/forms.html]



해결책으로는 jquery 등을 써서 넣었다 뺐다 하는 정도일려나?

[링크 : http://blog.avirtualhome.com/how-to-create-nested-forms/]

'Programming > javascript & HTML' 카테고리의 다른 글

div margin: 0 -200px 0 auto  (0) 2016.01.21
semantic element / HTML5  (0) 2016.01.21
HTML5용 슬라이더 바  (0) 2016.01.13
반응형 웹... w3cshool 링크  (0) 2016.01.11
ul li 메뉴 .. 2?  (0) 2016.01.11
Posted by 구차니
Programming/web 관련2016. 1. 13. 17:03

넷플릭스로 인해서 알게 된 문제(?) 인데

크롬에서 1080 동영상을 지원하지 않는다는데...

유튜브도 안되는건가?

아니면.. HTML5 video 태그를 통한 재생에서 그렇다는건가?


There are a couple of reasons.

Some content owners don't even allow 720p in the browser (Fox the main one)

Silverlight can't handle over 3000kbps (720p)

HTML5 hasn't had its DRM standardised yet and until it is the browsers looking to abide by standards won't get 1080p. It's only IE 11 on Win8 which takes MS standard approach of going their own way and not following standards which has a DRM that's been fully accepted by the Movie/TV industry


[링크 : https://www.reddit.com/r/netflix/comments/320c3u/all_why_is_it_that_chrome_and_firefox_can_only/]

[링크 : https://productforums.google.com/forum/#!topic/chrome/InUdBrue7Mg]



Netflix system requirements for HTML5 Player and Silverlight

Resolution: Stream in HD if your Internet connection supports 5 megabits per second or more.


Google Chrome up to 720p

Internet Explorer up to 1080p

Microsoft Edge up to 1080p

Mozilla Firefox up to 720p

Opera up to 720p

Safari up to 1080p on Mac OS X 10.10.3 or later

[링크 : https://help.netflix.com/en/node/23742]


[링크 : https://help.netflix.com/ko/node/23742]

'Programming > web 관련' 카테고리의 다른 글

AWS 서버리스 서버(serverless)  (0) 2017.01.02
NPAPI / PPAPI - VLC ...  (0) 2016.01.14
ssi(Server Side Includes)  (0) 2015.12.09
홈페이지 검증  (0) 2015.09.17
웹 서버별 특징  (0) 2015.09.11
Posted by 구차니

HTML5용이라 IE9도 안된다 ㄷㄷㄷ



IE10 부터 적용가능..


<input type="range" />


크롬


IE10(에뮬레이션)



[링크 : http://webtutsdepot.com/2010/04/24/html-5-slider-input-tutorial/]

'Programming > javascript & HTML' 카테고리의 다른 글

semantic element / HTML5  (0) 2016.01.21
HTML form 은 중첩불가..  (0) 2016.01.14
반응형 웹... w3cshool 링크  (0) 2016.01.11
ul li 메뉴 .. 2?  (0) 2016.01.11
div 쪼금 이해 될락말락...  (0) 2016.01.08
Posted by 구차니