๐Ÿก Home

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

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

    ๐Ÿ‘‰๏ธ ๋ฐ์ดํ„ฐ ์˜์—ญ: GDT(Global Descriptor Table) ๊ตฌ์กฐ ์ •์˜ ๋ถ€๋ถ„ ์ฝ”๋“œ ์„ค๋ช…์ž…๋‹ˆ๋‹ค.Data Area: This is an explanation of the code defining the GDT (Global Descriptor Table) structure. โœ”๏ธ ๋ฐ์ดํ„ฐ ์˜์—ญ์œผ๋กœ GDT(Global Descriptor Table) ๊ตฌ์กฐ๋ฅผ ์ •์˜ ํ•ฉ๋‹ˆ๋‹ค.Define the GDT (Global Descriptor Table) structure in the data area. — 4๋ฐ”์ดํŠธ ์ •๋ ฌ / 4-byte alignment 1)ํ˜„์žฌ ์œ„์น˜์˜ ์ฝ”๋“œ ๋ฐ์ดํ„ฐ์˜…


  • [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. ๐Ÿ‘‰๏ธ ์ „์ฒด ์ฝ”๋“œ /…