Lines Matching refs:segment
315 mov ax, 4[bp] ; segment
443 mov ax, 4[bp] ; segment
471 mov ax, 4[bp] ; segment
769 Bit16u segment;
1305 mov ax, 4[bp] ; segment
1328 mov ax, 4[bp] ; segment
1353 mov ax, 4[bp] ; segment
1379 mov ax, 4[bp] ; segment
1573 void put_str(action, segment, offset)
1575 Bit16u segment;
1580 while (c = read_byte(segment, offset)) {
2964 Bit16u ata_cmd_data_in(device, command, count, cylinder, head, sector, lba_low, lba_high, segment, …
2965 Bit16u device, command, count, cylinder, head, sector, segment, offset;
3040 mov ax, _ata_cmd_data_in.segment + 2[bp]
3049 add ax, #0x0080 ;; add 2 Kbytes to segment
3052 mov es, ax ;; segment in es
3071 mov _ata_cmd_data_in.segment + 2[bp], es
3113 Bit16u ata_cmd_data_out(device, command, count, cylinder, head, sector, lba_low, lba_high, segment,…
3114 Bit16u device, command, count, cylinder, head, sector, segment, offset;
3189 mov ax, _ata_cmd_data_out.segment + 2[bp]
3198 add ax, #0x0080 ;; add 2 Kbytes to segment
3201 mov es, ax ;; segment in es
3222 mov _ata_cmd_data_out.segment + 2[bp], es
3339 mov es, ax ;; segment in es
5431 Bit16u segment, offset;
5481 segment = ES;
5513 …n(device, ATA_CMD_READ_SECTORS, count, cylinder, head, sector, lba_low, lba_high, segment, offset);
5515 …(device, ATA_CMD_WRITE_SECTORS, count, cylinder, head, sector, lba_low, lba_high, segment, offset);
5598 segment=read_word(DS, SI+(Bit16u)&Int13Ext->segment);
5622 …=ata_cmd_data_in(device, ATA_CMD_READ_SECTORS, count, 0, 0, 0, lba_low, lba_high, segment, offset);
5624 …ta_cmd_data_out(device, ATA_CMD_WRITE_SECTORS, count, 0, 0, 0, lba_low, lba_high, segment, offset);
5841 Bit16u count, segment, offset, i, size;
5911 segment=read_word(DS, SI+(Bit16u)&Int13Ext->segment);
5936 …status = ata_cmd_packet(device, 12, get_SS(), atacmd, 0, count*2048L, ATA_DATA_IN, segment,offset);
6266 Bit16u before, segment, offset;
6329 segment = ES;
6345 segment = ES+(BX / 16);
6369 …ket(device, 12, get_SS(), atacmd, before*512, nbsectors*512L, ATA_DATA_IN, segment,offset)) != 0) {
6531 Bit16u count, segment, offset;
6685 add ax, #0x0020 ; add 512 to segment
6825 add ax, #0x0020 ; add 512 to segment
8288 mov es, ax ;; segment
8624 Bit16u segment, offset;
8626 segment = read_word( 0x40, 0x98 );
8630 … write_byte(segment, offset, read_byte(segment, offset) | 0x80 ); // Write to specified flag byte.
8866 mov bx, word ptr [0x40E] ;; EBDA segment
8867 mov ds, bx ;; Set segment
8871 mov ds, ax ;; and reset the segment to zero.
9045 mov ax, word ptr [0x40E] ;; EBDA segment
9193 mov ax, word ptr [0x40E] ;; EBDA segment
9305 ;- POST: EBDA segment
10300 ;; restore data segment limits to 0xffff
10344 dw 0xffff, 0, 0x9b00, 0x00cf ; 32 bit flat code segment (0x10)
10345 dw 0xffff, 0, 0x9300, 0x00cf ; 32 bit flat data segment (0x18)
10346 dw 0xffff, 0, 0x9b0f, 0x0000 ; 16 bit code segment base=0xf0000 limit=0xffff
10347 dw 0xffff, 0, 0x9300, 0x0000 ; 16 bit data segment base=0x0 limit=0xffff
10536 push ecx ;; segment where option rom is located at
10538 add sp, #4 ;; pop segment
10555 mov ax, ds ;; Increment the DS since rom size larger than an segment
10623 mov bx, word ptr [0x40E] ;; EBDA segment
10624 mov ds, bx ;; Go to the segment where the IPL table lives
10630 mov IPL_TABLE_OFFSET+6[bx], cx ;; Build a far pointer from the segment...
10634 mov 0xA[bx], cx ;; Build a far pointer from the segment...
10646 ;; because the segment selector is shifted left 4 bits.
10671 mov es, ax ; destination segment is 0xf0000
11395 xor ax, ax ;; segment 0000