๐Ÿก Home

Category / ์นดํ…Œ๊ณ ๋ฆฌ :

RNUI Module : react-native-freelifemakers-ui
  • [OS]miniOS-7(2)

    ๐Ÿ‘‰๏ธ ์ฝ”๋“œ์„ค๋ช… /Code Explanation โœ”๏ธ 16๋น„ํŠธ๋ชจ๋“œ์—์„œ ์‚ฌ์šฉํ•˜๋˜ ๋ ˆ์ง€์Šคํ„ฐ๋ฅผ GDT์˜ ๋ฐ์ดํ„ฐ๋ ˆ์ง€์Šคํ„ฐ(0x10)๋กœ ์ดˆ๊ธฐํ™”ํ•˜๋Š” ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค.This section initializes the registers used in 16-bit mode with the GDT data segment selector (0x10). — 32๋น„ํŠธ ๋ชจ๋“œ์—์„œ ๋ฒ”์šฉ๋ ˆ์ง€์Šคํ„ฐ๋Š” 32๋น„ํŠธ์šฉ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.In 32-bit mode, 32-bit general-purpose registers can be used. — ํ•˜์ง€๋งŒ ์„ธ๊ทธ๋จผํŠธ ๋ ˆ์ง€์Šคํ„ฐ(CS, DS, ES, FS, GS, SS)๋Š” ํ•ญ์ƒ 16๋น„ํŠธ์ž…๋‹ˆ๋‹ค.However, the…


  • [OS]miniOS-7(1)

    ๐Ÿ‘‰๏ธ 32๋น„ํŠธ ๋ณดํ˜ธ๋ชจ๋“œ๋กœ ์ „ํ™˜ํ•˜๋Š” ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค.This is the part where the system switches to 32-bit protected mode. ๐Ÿ‘‰๏ธ 16๋น„ํŠธ์—์„œ ๊ทธ๋ž˜ํ”ฝ ๋ชจ๋“œ๋กœ ์„ค์ •ํ•˜๊ณ  32๋น„ํŠธ ๋ณดํ˜ธ๋ชจ๋“œ๋กœ ์ „ํ™˜ํ›„์— ํ™”๋ฉด์— ํ•‘ํฌ์ƒ‰ ์‚ฌ๊ฐํ˜•์„ ๊ทธ๋ฆฌ๋Š” ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.This code sets the system to 16-bit graphics mode, switches to 32-bit protected mode, and then draws a pink rectangle on the screen. ๐Ÿ‘‰๏ธ ์ „์ฒด ์ฝ”๋“œ /…


  • [OS]miniOS-6

    ๐Ÿ‘‰๏ธ ๊ทธ๋ž˜ํ”ฝ ๋ชจ๋“œ ์ „ํ™˜๋กœ ์ „ํ™˜ํ•˜๊ณ  ํ™”๋ฉด์— ๋…ธ๋ž€์ƒ‰ ์‚ฌ๊ฐํ˜•์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.Switch to graphics mode and display a yellow rectangle on the screen. ๐Ÿ‘‰๏ธ ์ „์ฒด์ฝ”๋“œ / full code โœ”๏ธ boot.asm โœ”๏ธ sector2.asm ๐Ÿ‘‰๏ธ ์ปดํŒŒ์ผ / compiling ๐Ÿ‘‰๏ธ ์ฝ”๋“œ์„ค๋ช… / Code Explanation โœ”๏ธ boot.asm –๋ฐ์ดํ„ฐ ์„ธ๊ทธ๋จผํŠธ ๋ ˆ์ง€์Šคํ„ฐ ์ดˆ๊ธฐํ™”Initialize data segment registers 1) ์œ„์˜ ์ฝ”๋“œ๋Š” ์ดˆ๊ธฐํ™”๋งŒ ํ•˜๊ณ  ์ฝ”๋“œ๊ฐ€ ์‚ฌ์šฉ๋˜๋Š” ๋ถ€๋ถ„์ด…